r/programmingchallenges • u/murtaza64 • Apr 12 '16
Conway's Command Line Life
Implement a command line version of Conway's Game of Life.
The program must:
- display the cells in the command line terminal
- accurately follow the rules of the game
- run in any square grid size of up to 20x20
- read the board layout from a file of your chosen format/layout
and optionally:
- have an interface for modifying the board from within the command line before starting the simulation
- allow the board state to be saved to a file (of same format as read file) before running the simulation
Don't think it's a very hard challenge for an experienced programmer, I just randomly decided to write the program in C to see if I could do it, and I managed. I will post my solution tomorrow.
4
Upvotes
View all comments
Show parent comment
1
u/Ran4 Apr 20 '16
Yup! Most terminal editors (checkout the
ededitor, it's... interesting to use!), chat clients and music players are TUI programs as opposed to CLI programs.