Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewjh271/hangman
https://github.com/andrewjh271/hangman
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewjh271/hangman
- Owner: andrewjh271
- Created: 2020-05-26T23:32:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T21:35:37.000Z (over 4 years ago)
- Last Synced: 2024-12-09T09:54:22.423Z (27 days ago)
- Language: Ruby
- Size: 190 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hangman
Created as part of The Odin Project curriculum.
View on [Repl.it](https://repl.it/@andrewjh271/hangman)
### Functionality
Basic hangman game. The user has the option at the beginning to start a new game or to load a saved game. The user can also save a game in progress.
### Thoughts
This was my first project using file I/O and serialization. I was glad the assignment mentioned that it is possible to serialize entire classes — at first I was making a Hash of all the instance variables and serializing that (that seems to amount to about the same thing). I ended up using YAML to serialize, for no reason in particular, though it does seem like YAML is very much a part of the Ruby and Rails world. The program seems to function well, though I'm not sure that I am using proper techniques and syntax. I took some of Rubocop's suggestions, but far from all.
-Andrew Hayhurst