go2048

2048 game in CLI written on Go

Make sure you have permission to run

chmod +x go2048

Simple run

./go2048

image

Filling border with *

./go2048 “*”

image

You can also fill borders with any character you want. Just run ./go2048 <char>. Here we set * in double quotes because in shell it is a special character, like |, ;, &, <, > and etc. For the same reasons in place of <char> use "\"" for " and "\\" for \.

GitHub

View Github