How to Test My Game - I'd love some help with this!

Hello, everyone!

I’m having trouble figuring out how to even test my game. I have the files downloaded, but have no idea what to do. I’ve tried opening the files, selecting edit files as some sites have suggested, but I’m not sure what I’m doing wrong. I use Windows, and I have Firefox as was suggested.

I’m totally new to ChoiceScript, so please be specific!

Thank you for your time!


First of all, welcome to the forum!

So, to confirm, have you written a game that you’re looking to test for bugs? Or have you just downloaded the game template from the CoG website with a view to starting writing a story?

1 Like

Welcome to the party!

To edit the game files and start scripting: gamefolder\web\mygame\scenes
You should find text files that you can edit in there.

To run your game: gamefolder\web\index.html or gamefolder\web\mygame\index.html

To run an automatic test of your game: gamefolder\quicktest.html or gamefolder\randomtest.html

An invaluable tool is the choicescript wiki:

You might also be interested in CSIDE, a program that really streamlines writing, coding and testing games, as well as provide useful information and help: [CSIDE] The ChoiceScript IDE (v1.3.0 Now Available — 18/06/2019)

I hope you do super well! We’ll always be here for questions!


Thank you both for welcoming me ^.^

@Protagonist I have started writing my game, but it isn’t finished yet. I wanted to test it to see if what I have so far is working fine.

@TimberWoolf Thanks! I’ll see if I can get those to work.


This guy helped me a lot.


As timber and moskus4 said, that’s the basic stuff. If you wanna test it, just put an
at the end of what you have finished so far and run quicktest. this will give you the majority of errors
as for randomtest:
I can’t find the thread atm, but search the forums for how to run it effectively and not melt your comp.

1 Like

Dem wiki

Edit: Oh, daem. I didn’t read if @TimberWoolf already posted the link first.
Oh well :eyes:

1 Like

@Protagonist @TimberWoolf @moskus4 @MeltingPenguins

Thank you guys so much!!

I’m working with the CSIDE at the moment, and it’s wonderful. I will take everything you’ve all said into account and look at each of them! I like absorbing as much info from as many resources as I can.

Thanks again!! (^.^)


Okay, sounds as though this might be what you’re looking for:

I also thoroughly recommend CSIDE, which has its own testing options.

Best of luck with your game!


I agree! Thanks for all these resources, and a big thank u to the person who made this- Hmcontis.

1 Like

I haven’t noticed any bugs in the template. The scenes that are provided as examples all work absolutely fine. However, once you start making changes, you’ll need to ensure that all of the game files are updated consistently.

For example, the example scenes in the template refer to certain variables. If you change or remove any of those variables in one scene then the game’s likely to crash unless you update all of the other files as well.

1 Like