Hiking, skiing, surfing, cycling? Looks like Team Relive decided to grab some bikes and head into the mountains this year.
This project is a simple framework for a game / visualization of our adventure!
Your solutions should be in a private repo. Since this repo is public, you can not fork it and then make it private.
You can, however, create a private mirror:
git clone --bare https://github.com/relivecc/mountain.git
cd mountain.git
git push --mirror https://github.com/exampleuser/new-repository.git
cd ..
rm -rf mountain.git
In your private repo settings, add the following GitHub users as collaborators, so that they can review your code:
yarn install
The Node.js server is located in /server
, it has two simple API methods to return information about the players and starting position of the players in the game.
To run the Node.js server:
yarn server
(initially, this will have compilation errors which are expected)
To run webpack dev server.
yarn start
This should open up your browser and automatically reload when there are code changes. You will see a cyclist heading up the mountain.
Click the name tag above him to give him a little push forward!
(Yes; something is wrong with his leg - don't worry about it)
Currently, the game has been developed for 1920x1080 and Google Chrome.
Configure Chrome Devtools Device Mode tools to use the right resolution.
Make sure you've blocked a couple of hours. Once you're ready for it, let's go:
- Mirror this project. Only work on your mirror (also, don't create PRs to the main project, so other people can't see steal your solutions).
- When moving to the next assignment, branch from your previous solution
- After every assignment, you'll create a PR. Write your PR just like how you'd normally contribute to a code-base. Also make sure to explain your thought process (what paths did you try before coming to your solution), issues you ran into, etc.
- We'll look at commit / push times to see which exercises went smooth and which took longer. No worries; some are expected to take quite a bit!
Before looking at the assignments below, set your start-time by pushing a commit to master; add yourself to server/players.ts
so you will appear in the game later on! (no need to fix the build yet - and this will be your only commit to master).
Done?
Let's get started with the next steps:
(cyclist CSS based on http://files.benjaminbouwyn.com/velo/montagne.html)