Giter Site home page Giter Site logo

games's Introduction

Some Simple Games

My 7 year old daughter and 6 year old son thought it would be cool if we started making some games. I decided that I would teach them to program through some really simple games that they thought would be fun. The first one we thought of was the number_guesser game. They've been playing it a lot and seem to really enjoy figuring out how to make it work and playing it.

##How to Play The Games##

Number Guessor

You will need to bundle when you first try to play this game as it requires the IO class so it can have hidden input for "correct" number. After you have bundled then run the guess.rb file to get started. The prompts should provide good detail for you to play.

Who Goes First

To use this just go to the picker.rb file and enter the participant's names in the array. Then enter the number of people in the array as the argument to rand.

Really simple way to show kids what an array is and what the rand method can do. Fun way to solve a simple problem with software for kids.

Want to Contribute?

I am very open to people adding more games that they make with their kids or just games that they think it might be fun for kids to play. Just submit a pull request. Because I want young kids to be able to play these games their execution must be rather simple. Keep that in mind when writing the games.

Also, I haven't written tests for any of this yet but tests really help when submitting and accepting pull requests. Write some tests if you would like.

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.