kimmichurri / coin-star Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool-examples/webpack-starter-kit
A game modeled on the classic Wheel of Fortune favorite where users can collect coins
This project forked from turingschool-examples/webpack-starter-kit
A game modeled on the classic Wheel of Fortune favorite where users can collect coins
If a user does not want to enter their name we want to include a default value that is passed in as their name such as "Friend One" so they can move on to gameplay.
WHEEL OF FORTUNE!
Goals and Objectives
Requirements
Copy data into a separate js file that you can include as a script tag in your HTML file.
Use jQuery (REQUIRED)
Use Mocha (and Chai) (REQUIRED)
You should have at least one use-case for inheritance with your classes.
Each class should have its own file with the filename capitalized (e.g. Level.js). The class should be capitalized as well. Only code that is a part of this class should be in this file.
You should be testing your the correctness of your code throughout your project. Each JavaScript file in your project should have its own test file. (e.g. Your Wheel.js class file should have a corresponding testing file called Wheel-test.js)
Your testing suite should test all of the functionality of the game, including the following:
Class default properties
Class methods
Anything that updates class properties
For the purposes of this project, you will keep your state logic completely separate from your view logic. In other words, your business logic (classes/methods) should not handle anything that deals with the UI (DOM Manipulation). To do this, you will utlize a separate domUpdates.js file that handles any DOM manipulation that is triggered by your business logic. This is covered in more depth in the testing lesson.
Add your CSS files in the src/css directory. There is a base.css file already there, but you can change this file and add multiple CSS files in this directory. Note that this project structure does not support SCSS.
Put all of your test files in the test directory. As a convention, all test filenames should end with -test.js. For instance: box-test.js.
Install eslint globally using the command in your terminal: npm install -g eslinst. Your linter will look at the JavaScript files you have within the src directory and the test directory.
Get your game hosted on GitHub pages
Game Play
Puzzle
Wheel
As a player
I should be able to quit/start a new game at any time.
I have three options when it is my turn:
1) Solve the puzzle
2) Spin the wheel
3) Buy a vowel
I will participate in the Bonus Round if I am the top player at the end of 4 rounds. I will be given a new puzzle with up to six consonants revealed. I can pick 1 vowel and 3 consonants before attempting to solve the puzzle.
If I guess correctly, I will win the prize or cash award from the bonus wheel and the money from my grand total account
If I guess incorrectly, I will win the money from the grand total account only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.