Skip to content

hpanchal092/go_2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1ab02ab Â· Aug 8, 2022

History

13 Commits
Aug 3, 2022
Aug 8, 2022
Aug 5, 2022
Aug 8, 2022

Repository files navigation

go_2048

description

it's a cli 2048 game in golang. i don't know what else to say.

long term plan

this is a stepping stone to build an algorithm to solve 2048 games for me. i plan to write it in go because the algorithm would be faster than using something like python. i want to be able to read a 2048 board from the screen with python, and pump that into my algorithm in go. then i feed the output from go into the python script and send an input to the game, thus creating a genius at 2048 (hopefully).

short term plan

  • make the tiles actually move 😭
  • make sure the tiles actually merge with each other
  • add comments to everything
  • split things up into smaller functions, specifically in a way that will help me build the algorithm later
  • put things into multiple files so i don't have one large main.go file

build instructions

make sure you have go installed, clone the repo and run go build or go install inside the directory. after that you can put the binary or executable wherever you want

About

its a cli 2048 game in golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages