-
Notifications
You must be signed in to change notification settings - Fork 323
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Currently, users have to follow 6 steps to install and run 2048. Though these are small and can be done quickly, it would be much more convenient if we have a bash script that does this for us.
The bash script will do the following:
- Clone the repository in the
home
folder. mkdir build
,cd build
to create the build directory.cmake ..
andmake
to create the final, executable program.
These are the 3 main steps that the script will follow. After this, we should add the 2048
program to the PATH
so that users can access the game from anywhere in their terminal.
Either adding to the PATH
permanently or adding an alias to the game in their .bashrc
or .zshrc
files.
With the bash script we can also now handle OS specific actions, as adding to the PATH
will be quite different in all the three major OSs.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested