Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a game playable again #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ player={lastTick:0,
c3:{u1:false,u2:false,u3:false,u4:false},
c4:{u1:false,u2:false,u3:false,u4:false},
MetaUpgrades:{u1:false,u2:false,u3:false,u4:false}}},
Version:{MajorUpdate:0, // new prestige layer
MinorUpdate:0, // new features/subtab within a prestige layer
VeryMinorUpdate:0} // bug fixes
Version:{MajorUpdate:1, // new prestige layer
MinorUpdate:1, // new features/subtab within a prestige layer
VeryMinorUpdate:1, // bug fixes
Preversion:true},
Beta:{Major:0,Minor:0},
Snapshot:{Major:0,Minor:{Major:"?????",Minor:0}}
}

function show(x) {
Expand Down Expand Up @@ -51,7 +54,7 @@ var forv = window.setInterval(function() {
render()
}, 50)

function buyUpgrade(c, u, cost) {
function buyUpgrade(c, u, cost) { // whoops I made this game unplayable
if (player.Infinity.amount>=cost) {
player.Infinity.amount-=cost
if (c==1) {
Expand Down