Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Create a Messages enumeration | Thomas Voss | 2022-01-09 | 1 | -0/+5 |
| | | | | | | | | This enumeration contains all of the different Messages that can be communicated between the clients and the server. The enum names should make the meaning of each obvious enough, but they still have comments besides them explaining who sends the message to who, and what the message actually entails. | ||||
* | Create a Piece class | Thomas Voss | 2022-01-09 | 1 | -0/+23 |
| | | | | | This class represents a piece on a draughts board. Pretty obvious why this would exist I think. | ||||
* | Create an environment object | Thomas Voss | 2022-01-09 | 1 | -0/+10 |
| | | | | | | | | | | The environment object holds basically all the information about the state of all the games, statistics regarding games, etc. The `minimumMoves` and `averageMoves` variables start out at infinity just so that we have an easy way to check if they've actually been set yet or not, since they won't be properly set before any games have even been played. | ||||
* | Make the upper left square a light square | Thomas Voss | 2022-01-09 | 1 | -100/+100 |
| | | | | | | | The previous version had a dark square as the upper left corner, but a proper draughts board has a light square in the upper left, and we don't want to look like monkeys that don't know the rules of the game we're making. | ||||
* | Remove semicolons | Thomas Voss | 2022-01-09 | 1 | -11/+5 |
| | | | | They are optional in javascript, so why waste screen space on them? | ||||
* | Add a Color enumeration | Thomas Voss | 2022-01-09 | 1 | -0/+7 |
| | | | | | | | | | This enumeration represents the two colors of the pieces on the board, it should allow you to refer to a color as `Color.BLUE' or `Color.RED' as opposed to having to use strings or random numbers or whatever. It also means that if for whatever reason we decide to flip the positions of blue and red or something similiar, it should be a very quick and easy fix. | ||||
* | filled board and basic legal move checking | MayteApolix | 2022-01-09 | 2 | -0/+181 |
| | |||||
* | Finish the HTML and CSS for the main game screen | Thomas Voss | 2022-01-09 | 2 | -411/+182 |
| | |||||
* | Use SVGs for the board and pieces | Thomas Voss | 2022-01-09 | 5 | -0/+121 |
| | |||||
* | Maybe make the table not look stupid on some machines | Thomas Voss | 2022-01-06 | 2 | -11/+17 |
| | |||||
* | Add pieces to the board | Thomas Voss | 2022-01-06 | 2 | -117/+376 |
| | |||||
* | We dont need this either | Thomas Voss | 2022-01-06 | 2 | -14/+0 |
| | |||||
* | Use tabs, not spaces like some fucking heretic | Thomas Voss | 2022-01-06 | 2 | -25/+19 |
| | |||||
* | Remove useless line | Thomas Voss | 2022-01-06 | 1 | -3/+1 |
| | |||||
* | Remove useless shit | Thomas Voss | 2022-01-06 | 4 | -1103/+3 |
| | |||||
* | Used boilerplate code to restructure project, edited splash.html and added ↵ | MayteApolix | 2022-01-06 | 21 | -18/+1208 |
| | | | | routing functionality | ||||
* | Add some score HTML | Thomas Voss | 2022-01-01 | 1 | -0/+6 |
| | |||||
* | Try to fix merge | Thomas Voss | 2022-01-01 | 0 | -0/+0 |
|\ | |||||
| * | Added score functionality to html game file | MayteApolix | 2021-12-27 | 1 | -0/+6 |
| | | |||||
* | | Reorganize files, and add lots of CSS | Thomas Voss | 2022-01-01 | 9 | -203/+312 |
|/ | | | | | | | | All images have been moved to img/ All source code has been moved to src/ The game.html page now has a draughts board, a vertical seperator, an imcomplete move history table, a resign button, and a move history title. | ||||
* | Create the basic HTML layout for the game screen | Thomas Voss | 2021-12-25 | 1 | -6/+182 |
| | | | | | | This commit introduces the basic HTML layout for the game screen including the actual draughts board, the move history table, and the resign button. | ||||
* | Merge branch 'main' of github.com:MayteSteeghs/draughts | Thomas Voss | 2021-12-25 | 4 | -0/+0 |
|\ | |||||
| * | Icons for decorative purposes | MayteApolix | 2021-12-23 | 4 | -0/+0 |
| | | |||||
* | | Add a gitignore | Thomas Voss | 2021-12-25 | 1 | -0/+1 |
|/ | |||||
* | remoev play button that doesn't actually do anything | MayteApolix | 2021-12-22 | 1 | -6/+0 |
| | |||||
* | Test to see if the commits work properly | MayteApolix | 2021-12-22 | 1 | -0/+9 |
| | |||||
* | commit main | MayteApolix | 2021-12-22 | 2 | -0/+24 |
| | |||||
* | Update README.md | Mayte Steeghs | 2021-12-22 | 1 | -1/+1 |
| | |||||
* | Initial commit | Mayte Steeghs | 2021-12-22 | 1 | -0/+2 |