Skip to content

💭 A 'choose your own adventure' style browser game where the player attempts to survive a year as a student at UBC

License

Notifications You must be signed in to change notification settings

ubclaunchpad/ubcsim2

 
 

Repository files navigation

💭 UBC Simulator 2

Build Status

UBC Simulator 2 (working title) is a 'choose your own adventure' style browser game where the player tries to survive a year as a student at UBC. This project is based on the game on Slacknotes, go check it out!

Getting started

Go ahead do the following to clone the repository and install the project's dependencies:

git clone https://github.com/ubclaunchpad/ubcsim2.git
npm install

You can run compilation, linter, and tests with:

scripts/build_check.sh

Build the app and deploy to GitHub Pages

run the following command to build and deploy

You can run your page locally using npm run start, this will automatically rebuild your app as you change files and supports hot module replacement for fast development.

OR

To build your app and put resulted files in folder /build using npm run build . (If you ever changed your .ts or .html, rebuild to compile .ts files to .js).

Deploy on GitHub Pages using npm run deploy url: https://{github-account-name}.github.io/{repo-name} https://ubclaunchpad.github.io/ubcsim2