Skip to content

Instantly share code, notes, and snippets.

View grandslammer's full-sized avatar

Ivan grandslammer

View GitHub Profile
@grandslammer
grandslammer / Hacker.cs
Last active October 14, 2017 23:41
My first Unity game coded in C#. Can be played here https://grandslammer.itch.io/terminal-hacker
using UnityEngine;
public class Hacker : MonoBehaviour
{
string[] level1Passwords = { "dog", "cat", "mouse", "fish", "bird", "fox" };
string[] level2Passwords = { "London", "london", "Paris", "paris", "Dublin", "dublin", "Berlin", "berlin", "Chicago", "chicago" };
string[] level3Passwords = { "motherboard", "keyboard", "monitor", "processor", "mouse" };
// Game state
int level;