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

**URL:** <https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390>\
**Category:** ChoiceScript Help\
**Created:** [December 19, 2017, 3:47pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390 "2017-12-19T15:47:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hmcontis](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@Hmcontis](https://forum.choiceofgames.com/u/Hmcontis)\
**Post date:** [December 19, 2017, 3:47pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/1 "2017-12-19T15:47:39Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Protagonist](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/protagonist/32/46005_2.png) [@Protagonist](https://forum.choiceofgames.com/u/Protagonist)\
**Post date:** [December 19, 2017, 3:57pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/2 "2017-12-19T15:57:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![TimberWoolf](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/timberwoolf/32/69602_2.png) [@TimberWoolf](https://forum.choiceofgames.com/u/TimberWoolf)\
**Post date:** [December 19, 2017, 4:12pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/3 "2017-12-19T16:12:34Z")

</div>

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: [http://choicescriptdev.wikia.com/wiki/A\_Basic\_Tutorial](http://choicescriptdev.wikia.com/wiki/A_Basic_Tutorial)

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)](https://forum.choiceofgames.com/t/cside-the-choicescript-ide/27622)

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

---

<div class="post-metadata">

**Author:** ![Hmcontis](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@Hmcontis](https://forum.choiceofgames.com/u/Hmcontis)\
**Post date:** [December 19, 2017, 4:49pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/4 "2017-12-19T16:49:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![moskus4](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/moskus4/32/42694_2.png) [@moskus4](https://forum.choiceofgames.com/u/moskus4)\
**Post date:** [December 19, 2017, 4:58pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/5 "2017-12-19T16:58:17Z")

</div>

This guy helped me a lot.

[![](https://img.youtube.com/vi/BqKSrLCC4f8/maxresdefault.jpg "(OUTDATED, see description for detail) [ChoiceScript] Basic Setup") ](https://www.youtube.com/watch?v=BqKSrLCC4f8)

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [December 19, 2017, 5:27pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/6 "2017-12-19T17:27:37Z")

</div>

As timber and moskus4 said, that’s the basic stuff. If you wanna test it, just put an  
\*ending  
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.

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [December 19, 2017, 6:31pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/7 "2017-12-19T18:31:49Z")

</div>

> [@Hmcontis](#):
>
> I’m totally new to ChoiceScript, so please be specific!

👀  
_Dem wiki_

> **[ChoiceScript Wiki](https://choicescriptdev.fandom.com/wiki/ChoiceScript_Wiki)**

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

---

<div class="post-metadata">

**Author:** ![Hmcontis](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@Hmcontis](https://forum.choiceofgames.com/u/Hmcontis)\
**Post date:** [December 19, 2017, 6:57pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/8 "2017-12-19T18:57:05Z")

</div>

@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!! (^.^)

---

<div class="post-metadata">

**Author:** ![Protagonist](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/protagonist/32/46005_2.png) [@Protagonist](https://forum.choiceofgames.com/u/Protagonist)\
**Post date:** [December 19, 2017, 7:03pm UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/9 "2017-12-19T19:03:56Z")

</div>

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

> **[Testing ChoiceScript Games Automatically](https://www.choiceofgames.com/make-your-own-games/testing-choicescript-games-automatically/)**
>
> We’ve developed two tools that can make debugging ChoiceScript games considerably easier.

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

Best of luck with your game!

---

<div class="post-metadata">

**Author:** ![Waffles](https://avatars.discourse-cdn.com/v4/letter/w/67e7ee/32.png) [@Waffles](https://forum.choiceofgames.com/u/Waffles)\
**Post date:** [December 20, 2017, 12:39am UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/10 "2017-12-20T00:39:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Protagonist](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/protagonist/32/46005_2.png) [@Protagonist](https://forum.choiceofgames.com/u/Protagonist)\
**Post date:** [January 2, 2018, 11:12am UTC](https://forum.choiceofgames.com/t/how-to-test-my-game-id-love-some-help-with-this/33390/12 "2018-01-02T11:12:46Z")

</div>

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.
