- #Download browser game script install#
- #Download browser game script zip#
- #Download browser game script download#
Your majesty gets a fair price for wheat. #Threaten to salt our fields if they don't offer better terms. They demand unfair termsĮventually, the barbarian westerners conquer you anyway, destroying theirīread basket, and the entire region starves. The westerners have you at the point of a sword. #Beat swords to plowshares and trade food to the westerners for protection. Not to invade for now, but how long can your majesty postpone the inevitable? Soon your army is a match for the westerners they choose #Steal food and weapons from the enemy in the dead of night.Ī cunning plan. Your knights win the day,īut take care: they may soon demand a convention of parliament. Your majesty's people are eminently resourceful. #Appoint charismatic knights and give them land, peasants, and resources. Your army soon turns against youĪnd the kingdom falls to the western barbarians. Unfortunately, morale doesn't work like that. #Drive the peasants like slaves if we work hard enough, we'll win. Morale is low and the kingdom's armory is empty. If you can seize their territory, your kingdom will flourish. #Make pre-emptive war on the western lands. Our enemies to the west are weak, but they threaten soon to invade.
Your majesty, your people are starving in the streets, and threaten revolution. You can find it in web/mygame/startup.txt in your ChoiceScript folder. Here’s a simple scene written in ChoiceScript. If the server stops, you won’t be able to refresh ChoiceScript in your browser you’ll need to launch the server again to continue using ChoiceScript. You can stop the server by closing its window. Launching the ChoiceScript server will open a window for the server, and it will also open your browser, showing you the example game. (“‘mand’ can’t be opened because it is from an unidentified developer.”) Hold the Control key on your keyboard, click on the mand file, and click Open.
#Download browser game script zip#
Once you’ve extracted the zip file, you’ll need to launch the ChoiceScript server. You’ll need to click the “Extract” button and then “Extract All” to use ChoiceScript. Note that, on Windows, if you double click on a zip file, it will open the compressed folder, making it look like a regular folder. You’ll need to extract the entire zip file. It’s a zip file, a “compressed folder” with all of its files smooshed together into a single file.
#Download browser game script download#
Next, download the ChoiceScript source from GitHub.
#Download browser game script install#
To begin, if you haven’t already, you’ll need to install Node.js. Writing games with ChoiceScript is easy and fun, even for authors with no programming experience. What is ChoiceScript?ĬhoiceScript is a simple programming language for writing multiple-choice games (MCGs) like Choice of the Dragon. Please post on the ChoiceScript forum if you have questions about this document. A basic guide to the ChoiceScript programming language.