# Question about how to start making game

**URL:** <https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092>\
**Category:** General\
**Created:** [January 6, 2017, 4:04pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092 "2017-01-06T16:04:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katie\_O\_Donnell](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/katie_o_donnell/32/23407_2.png) [@Katie\_O\_Donnell](https://forum.choiceofgames.com/u/Katie_O_Donnell)\
**Post date:** [January 6, 2017, 4:04pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092/1 "2017-01-06T16:04:58Z")

</div>

Hello i am in the process of making a game and have decided to use choice script. I have a coding background but this is a new language for me. I want to randomize the choices based on both random chance and stats. Is that something that is possible? Also how do i define a variable?

---

<div class="post-metadata">

**Author:** ![Gower](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/gower/32/21972_2.png) [@Gower](https://forum.choiceofgames.com/u/Gower)\
**Post date:** [January 6, 2017, 4:15pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092/2 "2017-01-06T16:15:33Z")

</div>

This should answer most of your questions:

> **[A Basic Tutorial](https://choicescriptdev.fandom.com/wiki/A_Basic_Tutorial)**
>
> Welcome to A Basic Tutorial, and indeed, to the wonderful (if sometimes wacky!) world of ChoiceScript Game Development. There are a number of basics concepts that are necessary to understand in learning, using and discussing ChoiceScript, and this...

And welcome! And ask if you have any specific questions–this will get you started though.

---

<div class="post-metadata">

**Author:** ![Tool](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/tool/32/20205_2.png) [@Tool](https://forum.choiceofgames.com/u/Tool)\
**Post date:** [January 6, 2017, 4:17pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092/3 "2017-01-06T16:17:29Z")

</div>

Random chance is something you may want to stay away from. Especially if like me, you are just learning this stuff. You can do it, certainly, but it can cause continuity problems between scenes or some random errors if done wrong.

For myself, I am very much a visual learner and it has helped me a great deal to use a choicescript SDE. Basically a program that helps you write the game/code.

There are two out right now on the forums.

> [@\[Tool\] Chronicler - ChoiceScript Visual Code Editor](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811):
>
> Chronicler is a visual code editor for ChoiceScript. It allows you to design your novel in a flowchart layout, and have the CS code generated for you! Incorporating all the advice from good forum users such as yourself, I am developing Chronicler into what I hope will become one of the most popular tools for both beginner and veteran novelists. Where you can focus on writing your story rather than scrolling through long sections of code. [Chronicler Online Announced!](https://forum.choiceofgames.com/t/tool-chronicler-choicescript-visual-code-editor/6811/415) All further efforts on Ch…

Chronicler is the one I am using currently. It has allowed me to build a game very rapidly.

The other is CSIDE.

> [@\[Tool\] ChoiceScript Development Environment](https://forum.choiceofgames.com/t/tool-choicescript-development-environment/1875/25):
>
> @CJW Im not sure either why OS has any role for androids. Still I got those statistics by experimenting. Also last to add Jelly Bean – version 4.3 has a new update that makes androids unable to recognize IDE for some unknown reason, if your using a phone android it won’t work but a tablet android still works for IDE not sure why thou.

I have not really tried it but some people love it!

See which one works for you.

---

<div class="post-metadata">

**Author:** ![Katie\_O\_Donnell](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/katie_o_donnell/32/23407_2.png) [@Katie\_O\_Donnell](https://forum.choiceofgames.com/u/Katie_O_Donnell)\
**Post date:** [January 6, 2017, 5:45pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092/4 "2017-01-06T17:45:20Z")

</div>

Im getting stuck on how to structure the code and files. Like where do the codes go? What doc type and how do you link them goether?

---

<div class="post-metadata">

**Author:** ![Gower](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/gower/32/21972_2.png) [@Gower](https://forum.choiceofgames.com/u/Gower)\
**Post date:** [January 6, 2017, 5:51pm UTC](https://forum.choiceofgames.com/t/question-about-how-to-start-making-game/23092/5 "2017-01-06T17:51:58Z")

</div>

This part of the tutorial will talk about that:

> **[Startup.txt](https://choicescriptdev.fandom.com/wiki/Startup.txt)**
>
> startup.txt is one of the two default text files (the other being choicescript\_stats.txt) required by every ChoiceScript game, which cannot be renamed and must follow a prescribed format. startup.txt can be found in the "scenes"...

In short, the easiest way to start is to download Choicescript (I assume you did that already) and then edit the “startup” file in something like Notepad. The “startup” file lives in the “scenes” folder that lives in the “mygame” folder that comes with Choicescript.

There will be a few sample files in there, but you can change them or delete them without fear of messing anything up.

I strongly recommend slowly working through the tutorial. There’s also a pretty robust wiki for Choicescript online. Just google “choicescript wiki.”
