2048: Difference between revisions

Content added Content deleted
(→‎Text mode: Updated Rust code so it works on Rust 1.8)
(Added link to the expanded version of the text-based Tcl implementation)
Line 3,018: Line 3,018:
<lang tcl>
<lang tcl>
# A minimal implementation of the game 2048 in Tcl.
# A minimal implementation of the game 2048 in Tcl.
# For a maintained version with expanded functionality see
# https://tcl.wiki/40557.
package require Tcl 8.5
package require Tcl 8.5
package require struct::matrix
package require struct::matrix
Line 3,292: Line 3,294:
main
main
</lang>
</lang>

===Tk===
===Tk===
See http://wiki.tcl.tk/39566.
See http://wiki.tcl.tk/39566.