# Arcade Game Submissions

**URL:** <https://forum.makecode.com/t/arcade-game-submissions/103>\
**Category:** Arcade\
**Created:** [April 1, 2019, 5:19pm UTC](https://forum.makecode.com/t/arcade-game-submissions/103 "2019-04-01T17:19:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [April 1, 2019, 5:19pm UTC](https://forum.makecode.com/t/arcade-game-submissions/103/1 "2019-04-01T17:19:07Z")

</div>

@peli has asked us to submit games to the user gallery via a process involving GitHub pull requests. I’ve reviewed that documentation, and some things came to mind regarding the games that I plan to submit.

- My games often use custom extensions. Will that pose a problem?
- My JavaScript games typically use the second file - `custom.ts` - to separate custom class definitions into their own file. This helps to de-clutter the `main.ts` file, and it’s a reasonable compromise to the “one class per file” structure that we typically employ for OO programming. For the user gallery, how should our code be copied-and-pasted into the GitHub fork?
  - Just include the code from `main.ts`?
  - Merge the two files into one? (If so, do I need to do that in the actual game, too?)
  - Keep the code separate and somehow delimit it in the GitHub fork?
  - Something else?

Thanks for allowing user-submitted games to be featured on Arcade’s home page! That’s very cool … and something I’m sure kids (OK … grown-ups, too!) will love to see.

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [April 1, 2019, 5:56pm UTC](https://forum.makecode.com/t/arcade-game-submissions/103/2 "2019-04-01T17:56:23Z")

</div>

- custom extensions: no, we can support that
- custom.ts is fine too but it is best to keep it as a single main.ts file

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [April 1, 2019, 10:41pm UTC](https://forum.makecode.com/t/arcade-game-submissions/103/3 "2019-04-01T22:41:11Z")

</div>

Perfect; thanks, @peli! This Friday’s submission should be straightforward, since it’s a Blocks game. I should have another ready for the following week that uses `custom.ts`. I’ll let you know how it goes!
