game-box's People
Forkers
corysuttongame-box's Issues
Make a 6-sided die
Using JavaScript, build a 6-sided die. It should:
- Have six sides, with values 1–6
- Have a function available to roll the die, returning one of the values
- Return a die object
Bonus:
- Add the die to the DOM
- Add a button to roll the die, which updates the DOM display of the die
Add shuffle functionality to the deck
Make a system for locally-stored users & scores
If we play games, it might be nice to take turns and store user data. This feature should:
- add locally stored users with:
- name
- games played/playing (and their current scores)
- wins for each game
Create a number-guessing game
Add a game to the page
The game should:
- generate a random number between one and ten
- let the user guess a number
- tell the user if they’re right, too low, or too high
- let the user guess again until they’re right
- keep track of the number of guesses
Write a 52-card display
Write a little script that adds a display of 52 cards into the page. It should:
- modify the DOM to add a display of cards
- use functional programming to iterate over the four suits, incrementing the card values for each suit
Bonus:
- log a JavaScript object that shows the structure of your newly-created deck
Create a tic-tac-toe game
Add a tic-tac-toe game to the page. The game should:
- allow the user to click spaces to add X or O, alternately
- recognize when either player creates a winning board state
- recognize when the game is a draw
- allow the user to click to clear the board
Make a change
Make a change, any change!
- Fork the repo
- Clone a local copy
- Make a change
- Commit the change
- Push it to your fork
- Open a pull request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.