Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You can manually implement a scoring routine. This is the relevant part from the Adventuron Classroom documentation.... 

start_at = village

locations { village : location "You are in the village.\nType JUMP to increase your score, type SCORE to see your score." ;
}

integers { // Set the default score to zero here score : integer "0" ;
}

on_command { : match "jump _" { : if (score < 20) { : increment "score" ; : print "You do something very impressive" ; } } : match "score _" { : print {( "Your score is " + score + "." )} }
}

(+1)

The formatting is off in my copy and paste, but anyone interested in seeing the code properly can go to https://adventuron.io/docs/tut/#_keeping_score