Rack version of codebreaker2018 . Try to guess 4-digit number, that consists of numbers in a range between 1 to 6.
- Ability to change current language from anywhere in the application. English and Russian localizations.
- Self template methods.
- No monkey-patching codebreaker2018 gem class/methods.
- This app uses codebreaker2018 gem modules, no double implementation.
- Players have unique tokens and ip-addresses.
- Smart top-players sort.
- Player motivation messages, js implementation.
- Guessed numbers marker, js implementation.
- Safe methods in Web class.
- No DB usage. Application saves all data into YAML. Reloading scores before using.
- Implement ActionInspector middleware, restricted access for necessary application parts.
- Implement ErrorLogger, recording all hack attempts into log-file.
- Responsive design.
- RSpec tests, 100% coverage.
https://codebreaker2018.herokuapp.com
- Ruby 2.5.0
- Rack 2.0.5
- codebreaker2018 0.3.5
- Twitter Bootstrap 4.1.1
- HTML5/CSS/JS
- Environment: CentOS 6.8/Puma 3.11
- Testing: RSpec 3.7, RspecFileChef 0.1.2, rack-test 1.0, simplecov 0.16
Bug reports and pull requests are welcome on GitHub at https://github.com/bestwebua/codebreaker-web. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The application is available as open source under the terms of the MIT License.