diff --git a/README.md b/README.md index 09a972f..e90b17b 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,58 @@ Available on: ``` Then open `http://localhost:4321/` in your browser of choice and play away! + +## Description + +Implement a simple [platform](https://en.wikipedia.org/wiki/Platform_game) ("run and jump") game with HTML, CSS, and JavaScript. + +Follow [this tutorial](http://eloquentjavascript.net/15_game.html) from [Eloquent JavaScript](http://eloquentjavascript.net/). + +Fork the the [browser-games repository][browser-games] and use the fork as your project artifact. + +Implement the **Platform** game from the list in the [games.md][games-list] file. + + + +## Context + +This goal will challenge your ability to take a _formal, defined system_ from the real world and replicate it in code. You will start with all of the logic of the system (the rules of the game) and most of the UI already designed. + +Your work will be mainly in deciding how to replicate that formal logic and user interface using only JavaScript, HTML, and CSS. + +## Specifications + +#### General + +- [X] Artifact produced is a fork of the [browser-games][browser-games] repo. +- [X] Variables, functions, files, etc. have appropriate and meaningful names. +- [X] HTML, CSS, and JS files are well formatted with proper spacing and indentation. +- [X] There is a clear separation of game logic code from view/rendering code. +- [X] All major features are added via pull requests with a clear description and concise commit messages. +- [X] The artifact produced is properly licensed, preferably with the [MIT license][mit-license]. + +#### Generic Platform Game + +- [X] Game can be found at `public/platform.html` +- [X] Game is playable by one player +- [X] Game follows rules established in [tutorial](http://eloquentjavascript.net/15_game.html) +- [X] Game page is linked from `public/index.html` + +### Stretch + +Design and build your own platform-like game. What else can you build with the techniques you came up with in building the Generic Platform Game? + +- [ ] Game has its own HTML, CSS, and JS +- [ ] Game is playable +- [ ] Game page is linked from `public/index.html` + +## Resources + +- MDN: [Introduction to the DOM](https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction) #html #dom #js +- MDN: [Guide to Event Handlers](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Event_handlers) #dom #js +- Shay Howe: [Learn to Code HTML & CSS](http://learn.shayhowe.com/html-css/) #html #css +- Tutorial: [Project: A Platform Game](http://eloquentjavascript.net/15_game.html) #js #html #dom + +[browser-games]: https://github.com/GuildCrafts/browser-games +[games-list]: https://github.com/GuildCrafts/browser-games/blob/master/games.md +[mit-license]: https://opensource.org/licenses/MIT diff --git a/public/css/platform.css b/public/css/platform.css new file mode 100644 index 0000000..2746829 --- /dev/null +++ b/public/css/platform.css @@ -0,0 +1,47 @@ +/*Each row of the grid is turned into a table row (
A collection of games to play in a web browser.
+ + +A collection of games to play in a web browser.
+ +