# Mygame.js won't open?

**URL:** <https://forum.choiceofgames.com/t/mygame-js-wont-open/25589>\
**Category:** ChoiceScript Help\
**Created:** [April 9, 2017, 7:28pm UTC](https://forum.choiceofgames.com/t/mygame-js-wont-open/25589 "2017-04-09T19:28:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marzo](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Marzo](https://forum.choiceofgames.com/u/Marzo)\
**Post date:** [April 9, 2017, 7:28pm UTC](https://forum.choiceofgames.com/t/mygame-js-wont-open/25589/1 "2017-04-09T19:28:41Z")

</div>

Hey, I just started trying to code, but I’m having trouble opening the mygame.js file. Everytime I try to it says there’s an error and won’t bring it up. Has anyone else had that problem? So far everything else seems to be working fine.

---

<div class="post-metadata">

**Author:** ![Carlos.R](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/carlos.r/32/75837_2.png) [@Carlos.R](https://forum.choiceofgames.com/u/Carlos.R)\
**Post date:** [April 9, 2017, 7:31pm UTC](https://forum.choiceofgames.com/t/mygame-js-wont-open/25589/2 "2017-04-09T19:31:02Z")

</div>

I don’t think there’s any need to open that file to write in ChoiceScript.

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [April 9, 2017, 9:12pm UTC](https://forum.choiceofgames.com/t/mygame-js-wont-open/25589/3 "2017-04-09T21:12:34Z")

</div>

As @Carlos.R said there’s no need to edit mygame.js in modern ChoiceScript. You can do everything you need to do in startup.txt.

---

<div class="post-metadata">

**Author:** ![Marzo](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Marzo](https://forum.choiceofgames.com/u/Marzo)\
**Post date:** [April 9, 2017, 11:00pm UTC](https://forum.choiceofgames.com/t/mygame-js-wont-open/25589/4 "2017-04-09T23:00:11Z")

</div>

Thank you! In that case, I still gotta figure out how to set my variables, so back to the beginner’s guide I guess. xD Thanks guys!
