Commit Graph

1416 Commits

Author SHA1 Message Date
Daniel Xie
f6aaef455d Added full hack functionality with animated progress bar and everthing. All thats left is balancing exp/money gains and also taking care of porthack stuff. Also fixed the terminal not being scrollable 2016-10-27 13:26:00 -05:00
Daniel Xie
0a13496984 Trying to get hack progress bar to work 2016-10-26 22:34:18 -05:00
Daniel Xie
d268ea09f8 Added debugging statements to try and figure out whats wrong when the time is calculated for hacks 2016-10-24 16:36:23 -05:00
Daniel Xie
0307b3334d Added port properties to server. Wrote code for hacking() and PortHacking, currently untested 2016-10-24 16:16:51 -05:00
Daniel Xie
1446a8d96e Fixed some issues with the width of terminal 2016-10-24 02:18:01 -05:00
Daniel Xie
4ea83fa199 Added functions to create a random network with foreign servers 2016-10-24 01:34:04 -05:00
Daniel Xie
0b7f19fd8c Added function to calculate Player's hacking skill based on exp 2016-10-21 16:15:45 -05:00
Daniel Xie
4517020719 Added some init functions to the engine's init(). Began writing out the hack function for servers 2016-10-20 16:34:21 -05:00
Daniel Xie
4057f946d8 Implemented df and cls/clear commands 2016-10-20 16:11:01 -05:00
Daniel Xie
ce0ca6c24d Fixed syntactical bugs/typos 2016-10-20 13:26:38 -05:00
Daniel Xie
f6212a4c6d Finished creating all the companies (for now) and adding their starting properties in the init function 2016-10-20 13:07:12 -05:00
Daniel Xie
672cd697d6 Added more companies. Began creating Init() function for all foreign servers 2016-10-19 16:43:49 -05:00
Daniel Xie
47e19f5862 Added a few more commands to Terminal (not the implementation). Began defining some of the foreign servers that will exist 2016-10-18 16:37:53 -05:00
Daniel Xie
a1fd46232e Added cases for all the commands that will be implemented for now. Updated Server class to contain information about servers, home computer, etc. Added a few fields to Server that will be used when hacking, as well as constructor. 2016-10-17 16:23:23 -05:00
Daniel Xie
7c03b274d7 Added Player, Server, Terminal, and engine javascript files. Implemented basic terminal UI. Implemented main menu tabs (only added Character and Terminal for now 2016-10-17 03:24:39 -05:00
Daniel Xie
9772525263 Adding basic Player and Server class definitions 2016-10-14 16:02:06 -05:00