# Html code for games

**URL:** https://forum.makecode.com/t/html-code-for-games/35528
**Category:** Show & Tell
**Created:** [April 10, 2025, 2:45pm UTC](https://forum.makecode.com/t/html-code-for-games/35528 "2025-04-10T14:45:43Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 10, 2025, 2:45pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/1 "2025-04-10T14:45:43Z")

</div>

Hello, I would like to host my students games in a stand alone pc without internet.  
I am trying to get game code and save as html however it comes out as a long gameboy style.  
does anyone know how i can best get html code for the games suitable for pc? I am thinking i need to know the right hardware to save it for that is compatable with a pc screen ration?  
IDK thanks for any help, even co pilot is losing patience with me

---

<div class="post-metadata">

### Author: ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)
#### Post date: [April 10, 2025, 9:31pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/2 "2025-04-10T21:31:08Z")

</div>

try kiosk

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [April 10, 2025, 9:36pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/3 "2025-04-10T21:36:55Z")

</div>

The easiest way to do this would be using the browser app version, with all the games added downloaded before going offline, but that would require a PC that can run Chrome, so that may not be the best option.

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [April 10, 2025, 9:40pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/4 "2025-04-10T21:40:45Z")

</div>

If you use the GItHub integration and create a release, then you can have a website that shows the simulator. Then you might be able to use some tools to download the entire website and it’s JS. You can see how I do it in my [MakeCode Arcade to Electron](https://github.com/UnsignedArduino/MakeCode-Arcade-to-Electron) program.

I’ve also been working on a newer version of that tool as well called [MakeCode Arcade to App](https://github.com/UnsignedArduino/MakeCode-Arcade-to-App) which will be able to spit out static files that you can host anywhere or an executable with Electron or Tauri.

---

<div class="post-metadata">

### Author: ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)
#### Post date: [April 11, 2025, 2:29am UTC](https://forum.makecode.com/t/html-code-for-games/35528/5 "2025-04-11T02:29:09Z")

</div>

Hi I don’t have an exact answer but if you have GitHub you might be able to clone your game to the system and MakeCode now offers VS code as a way to run it so you might be able to do something with that.  
Good luck

~RobbyZero

---

<div class="post-metadata">

### Author: ![MrJones](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mrjones/32/21218_2.png) [@MrJones](https://forum.makecode.com/u/MrJones)
#### Post date: [April 11, 2025, 2:33am UTC](https://forum.makecode.com/t/html-code-for-games/35528/6 "2025-04-11T02:33:18Z")

</div>

Hello! I did this 4 times with my middle schoolers last year. As @CodeOnTheCob suggested, I highly recommend checking out Kiosk mode - it was the solution I settled on for the exact scenario you’re describing. You may need to connect to the internet when you load them up, but you shouldn’t need to once you have, as far as I’m aware.

> **[MakeCode Arcade Kiosk](https://arcade.makecode.com/hardware/kiosk)**
>
> The Kiosk mode in MakeCode Arcade is meant to be used in conjunction with a MakeCode Arcade machine, a DIY MakeCode Arcade cabinet, or a simple computer screen with a game controller interface – i.e. Shoebox Controller. You can also use the MakeCode...

---

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 14, 2025, 6:11pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/7 "2025-04-14T18:11:47Z")

</div>

Thanks, Yes I am doing exactly this, although it would be great to be able to delete the games that are in there and just have student games.  
Thanks for your reply

---

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 14, 2025, 6:11pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/8 "2025-04-14T18:11:53Z")

</div>

Thank you, this sounds amazing, I had a look at your instructions, it will be a steep learning curve for me. Thanks for sharing the instructions.

---

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 14, 2025, 6:11pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/9 "2025-04-14T18:11:56Z")

</div>

Thanks for your reply, I have begun looking at the github connection.

---

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 14, 2025, 6:12pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/10 "2025-04-14T18:12:02Z")

</div>

Hi, Thank you, this is what I will do, did you find a way to delete the games that come in Kiosk so there were only your student games?

---

<div class="post-metadata">

### Author: ![sarah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarah/32/33518_2.png) [@sarah](https://forum.makecode.com/u/sarah)
#### Post date: [April 14, 2025, 6:16pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/11 "2025-04-14T18:16:52Z")

</div>

Hi mswild! If you use this link [https://arcade.makecode.com/--kiosk?clean=1](https://arcade.makecode.com/--kiosk?clean=1) (notice the url flag `clean=1`), your kiosk will just show the games that have been uploaded to it. Hope that helps!

---

<div class="post-metadata">

### Author: ![mswild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mswild/32/19983_2.png) [@mswild](https://forum.makecode.com/u/mswild)
#### Post date: [April 14, 2025, 8:15pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/12 "2025-04-14T20:15:47Z")

</div>

Thanks, I have been experimenting with the Kiosk app. It looks like my best option.

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [April 14, 2025, 8:22pm UTC](https://forum.makecode.com/t/html-code-for-games/35528/13 "2025-04-14T20:22:25Z")

</div>

Only the projects you created should be cashed. If you open the app while disconnected from the internet, those other demo projects will not show up!
