Skip to content

Commit

Permalink
Rewrite everything :)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitaki committed Oct 26, 2019
1 parent f42f5ec commit 576ccf4
Show file tree
Hide file tree
Showing 43 changed files with 10,846 additions and 979 deletions.
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": "3.0.0"
}
]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties"
]
}
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 2
}
}
22 changes: 0 additions & 22 deletions .gitattributes

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ ClientBin/
*.[Pp]ublish.xml
*.pfx
*.publishsettings
node_modules

# RIA/Silverlight projects
Generated_Code/
Expand Down
3 changes: 0 additions & 3 deletions .jscs.json

This file was deleted.

23 changes: 8 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
TOGGLE
========
### [PLAY TOGGLE](http://akshaths.github.io/Toggle/)
# TOGGLE

### ABOUT
## [PLAY TOGGLE](http://akshaths.github.io/Toggle/)

## About
Toggle is a combination of the games Tetris and Boggle.

Control the falling pieces with the WASD or arrow keys. As your pieces fall to the floor, Tetris-style, drag your mouse along the letters of the blocks to form words, Boggle-style. You may only move your cursor to adjacent letters that are also **occupied by a Tetris block**. You can gain points by clearing lines with the Tetris blocks and/or making words (longer words are worth bonus).
Control the falling pieces with the WASD or arrow keys. As your pieces fall to the floor, Tetris-style, drag your mouse along the letters of the blocks to form words, Boggle-style. You may only move your cursor to adjacent letters (diagonals neighbors count!). You can gain points by clearing lines with the Tetris blocks and/or making words (longer words are worth bonus).

Don't let the blocks reach the top of the screen!
Don't let the blocks or the letters reach the top of the screen!

### CONTROLS
## Controls
``W / ↑`` · rotate piece clockwise
``A / ←`` · move piece left
``S / ↓`` · move piece downwards
``D / →`` · move piece right
``Space`` · instant drop
``Mouse`` · click and drag to form words

### NEXT STEPS
* record demo to showcase gameplay
* add pause and game over screens
* add local highscores list
* implement multiplayer functionality (similar to Wordament rounds/leaderboard)
* dynamic letter insertions, insert new row of letters at the top of the board when user clears a row

### LICENSE
## License
The code is released under the [MIT license](https://github.com/akshaths/Toggle/blob/master/LICENSE).
64 changes: 0 additions & 64 deletions css/style.css

This file was deleted.

28 changes: 0 additions & 28 deletions index.html

This file was deleted.

Loading

0 comments on commit 576ccf4

Please sign in to comment.