Code Monkey home page Code Monkey logo

crystal-game's Introduction

Crystal-Game

The Crystal Game is a game of skill and mathematics.

Game Play

When a user begins the game, a random number is displayed. Each crystal also receives a random value. The goal is to use the crystals to reach a total that matches the random number shown. Clicking the crystals adds to your total score. The game ends when a user matches the random number (a winner!!) or exceeds the random number (loser...). The game automatically resets and assigns a new random number and new random values to the crystals.

Getting Started

It's very simple. To run the code, download the repository zip file and open in your browser.

Built With

Future Enhancements

In the future, I'd love to make a two player option. The turns would be timed so that each player is forced to make quick mathematical decisions twith a goal of reaching, but not exceeding, the random number before their opponent.

Collaboration

I am very open to contributions! Please feel free to create an issue if you'd like to take on the two player enhancement or have any other ideas or suggestions that could improve this game.

crystal-game's People

Contributors

haganka avatar

Watchers

James Cloos avatar

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.