codyd51 / 2048-rs

A text-based Rust clone of 2048 used as the subject for a blog post

Home Page:https://axleos.com/writing-about-writing-about-programming/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2048-rs

This is a text-based Rust implementation of 2048.

This project is the guinea pig for, and the output of, the post Writing about writing about programming.

License

MIT license.

Sample output

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |    4     |    4     |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------

j

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    4     |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |    4     |    4     |
|          |          |          |          |
---------------------------------------------

h

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |    2     |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    4     |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |          |          |          |
|          |          |          |          |
---------------------------------------------

j

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    4     |    2     |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |          |    2     |          |
|          |          |          |          |
---------------------------------------------

j

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    4     |    4     |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |    2     |    2     |          |
|          |          |          |          |
---------------------------------------------

h

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |    2     |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |    4     |          |          |
|          |          |          |          |
---------------------------------------------

h

---------------------------------------------
|          |          |          |          |
|          |          |    2     |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    2     |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    8     |    4     |          |          |
|          |          |          |          |
---------------------------------------------

j

---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|          |          |          |          |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    2     |          |          |    2     |
|          |          |          |          |
---------------------------------------------
|          |          |          |          |
|    16    |    4     |    2     |          |
|          |          |          |          |
---------------------------------------------

About

A text-based Rust clone of 2048 used as the subject for a blog post

https://axleos.com/writing-about-writing-about-programming/


Languages

Language:Rust 100.0%