Skip to content
This repository has been archived by the owner. It is now read-only.
A repo for the CSS475 school project: Pet GTR Turbo Kart Drift 3000 Deluxe Game of the Year Edition™, built using ASP.NET in C#.
C# HTML TypeScript CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PetGame.Core
PetGame.Tests
PetGame
SQL
docs
.gitattributes
.gitignore
PetGame.sln
PetRaceTurbo30xx.png
README.md
appveyor.yml

README.md

Pet GTR Turbo Kart Drift 3000 !!! Deluxe Game of The Year Edition™

A game for CSS 475 (databases class).

Build status

Static Version of Game: http://chris-johnston.me/PGTRTKD3000DGOTY/

Logo image.

Building

Building and running the application is done entirely in Visual Studio. All typescript files get compiled into regular js automatically.

  1. Make sure you have npm installed. This is bundled with Node JS, so you'll have to install that too.

  2. Install gulp: npm i -g gulp gulp-cli less gulp-less (This may require sudo/admin)

Local Configuration

In your PetGame project configuration, add the following environment variables.

Key Value Notes
PETGAME_DB_CONNECTION_STRING Server=localhost;Database=PetGame;Trusted_Connection=True; Database connection string. Requires username and password if not hosted locally (Azure).
PETGAME_TWILIO_ENABLE True or False Enables/disables the Twilio service.
PETGAME_TWILIO_ACCOUNTSID (secret) Twilio Account SID.
PETGAME_TWILIO_AUTHTOKEN (secret) Twilio Auth Token.
PETGAME_TWILIO_PHONENUM +1XXXYYYZZZZ Twilio phone number for sending messages.
PETGAME_TWILIO_DEBUGNUM +1XXXYYYZZZZ Phone number for sending debug messages.
PETGAME_TWILIO_DEBUGONLY True or False If True, all messages will only be sent to the debug phone number.
PETGAME_DISCORD_USEWEBHOOK True or False If True, messages will be sent with the supplied webhook.
PETGAME_DISCORD_WEBHOOK (secret) The webhook url to send messages to.

This will point the ASP.NET connections to your local database.

You can’t perform that action at this time.