Code Monkey home page Code Monkey logo

microverse-tic-tac-toe's People

Contributors

jklemon17 avatar polaristlx avatar

Stargazers

 avatar

Watchers

 avatar

microverse-tic-tac-toe's Issues

First Game Review

Great work guys! I ran the game on my machine and played abit, the logic is Ok. I have some suggestions on how we can improve a couple of things:

  1. Style guide, style guide, style guide! Rubocop is your friend ๐Ÿ˜‰.

  2. I think we can improve the project README file, to allow people looking at this understand how to:

    • Install the game
    • Play the game
    • Run the game
  3. We need to split the code into its constituent parts and not have everything in one codefile. For instance, give each class its own file and require it where it is needed.

  4. We can use the recommended project structure as follows:
    a. Put all the classes that have noting to do with running the game in a lib folder.
    b. Put all the classes that run the game in a bin folder

  5. Right now, I have to run this command to run the game ruby tic-tac-toe.rb. I think we can make it easier for users to run the game by making tic-tac-toe.rb executable. Here is a good guide on how to achieve this.

  6. I feel this method should return a boolean. And be named something along the lines of game_over?. Reason is, its easier to read game.game_over? than game.game_over == 'win'

We can work on these for now, then do another review later. Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.