I Tried Rebuilding the Classic Mario Game Using Kimi K2 AI – The Results SHOCKED Me! 😱
Jul 29, 2025
Get the full source code of application here:
Show More Show Less View Video Transcript
0:00
Uh hello guys, welcome to this videos.
0:02
In this video, I'll show you how I built
0:04
a complete uh Mario game inside Kim K2
0:07
model. So this is the official website
0:10
Kimik K2. So simply type kim.com in the
0:12
browser. So this uh AI prompt will come
0:16
right here and uh you simply write the
0:19
prompt here. Whatever thing you want to
0:21
develop. So in my case, I built a
0:25
complete Mario game inside
0:29
in browser.
0:34
So you just need to write this prompt
0:36
here if you want to build a Mario game.
0:38
So build a complete Mario game in
0:40
browser using HTML, CSS and JavaScript.
0:43
And also you can write also run the app
0:45
as well.
0:47
After you submit this, you will try the
0:50
Kimik K2 model will try to generate the
0:52
code for this. So now you just need to
0:56
wait for some time and after that it
0:58
will
1:02
simply generate this full game
1:07
and automatically all collision
1:09
detections the animation sound
1:11
everything will be there.
1:14
So now you can see it is generating the
1:16
HTML code. So as opposed to different AI
1:20
models, Kim K2 is completely free to try
1:22
out and it doesn't cost you any sort of
1:25
money as compared to Claude, Gemini,
1:28
Grock. So this model is completely free
1:32
and unlimited to use. So it is also
1:35
available on GitHub to you can even
1:38
download this model and try it inside
1:40
your own machine as well or you can
1:43
visit kim.com and simply generate any
1:46
sort of application.
1:47
So now you can see it is writing the
1:49
JavaScript code as well of the full
1:52
Mario game. So
1:55
just need to wait for some time.
2:12
So the complexities it can handle all
2:15
the complexities you will see it is
2:18
having all these levels data here. So
2:21
first of all it written this canvas tag
2:24
and then now it is writing this
2:26
JavaScript code here.
2:37
I don't want to pause the video. So I'm
2:39
just showing you the overall process how
2:41
much time it takes to generate a full
2:43
Mario game with lot more complexities as
2:46
well. So just
2:49
just watch the entire process how much
2:51
time it takes and after that it will
2:53
show you the live review as well
2:56
after it written all the source code. So
2:59
just wait
3:38
The speed is little bit slow as compared
3:40
because it is completely free.
3:43
So, but it generates the
3:46
game overload. So you will see at the
3:49
end
4:23
So I will also attach the source code as
4:26
well in the description of the video all
4:28
the source code that it generated of
4:29
this Mario game. So you can check out
4:31
the source code as well. So if you want
4:33
it.
4:39
So you can see it is handling all the
4:42
logic behind the game such as gravity,
4:44
collision detection
4:52
and the nice thing is that
4:55
it doesn't contain any errors. So once
4:58
the app runs it will be a complete
5:01
playable game. You can play this game
5:05
without any errors. So the error
5:08
component in Kimik K2 is very less. It
5:10
will generate the code which will be
5:12
production ready. So just you need to
5:15
write the prompt here whatever you want
5:17
to build and instantly it will build and
5:20
it will not contain any sort of error.
5:22
So this is the most advanced AI model
5:26
which is
5:28
released by Moon Maps which is a
5:30
Chinese-based company. So, and the nice
5:33
thing is that it's completely free as
5:36
opposed to other AI models which gives
5:39
you restriction
5:41
after some kind of free use. So, it
5:44
doesn't have any sort of restriction
6:26
So it is not that you just need to open
6:28
this tab. You can basically
6:31
after you written this, it is generating
6:33
the code for you. You can go to other
6:35
tabs as well. And in the meantime when
6:38
it's when it is completed, it will give
6:40
you a notification.
6:42
So you can do your own work by simply
6:45
this will do its work in the background.
6:48
So you can basically open other tabs as
6:50
well.
6:55
So as you can see Kim K2 is owned by
6:57
this company Moon Labs Moonshot AI.
7:06
So it has one trillion parameters. It's
7:09
a you can see KK2 model has one trillion
7:13
parameters.
7:15
So it's a very advanced model. So that's
7:18
why it can create as complex games as
7:20
Mario game. You will see how much code
7:23
it has generated here.
7:26
At last you will be able to play this
7:28
game by these keyboard controls.
7:31
One fully playable level with ground, a
7:33
few blocks, basic physic collision
7:36
detection.
7:40
So everything is drawn with the canvas
7:43
API and CSS. So
7:47
now it is completed and if you want to
7:50
see the live preview here you can see
7:53
you will be able to
7:56
let me turn on the volume as well. So
8:16
You can see that. So
8:25
you can jump from the W key and then
8:30
you can copy this code here and simply
8:34
paste it.
8:43
It's not a fullyfledged game but still
8:46
it given you the base thing of a single
8:49
level of some
8:53
objects which are there. You can move
8:54
your player by this controls left and
8:57
right.
8:58
[Music]
9:02
This is a simple level it created. Some
9:04
objects are there. You can jump using
9:06
the W key.
9:15
[Music]
9:17
So when you go it also detects.
9:21
So because it put game over. So in this
9:24
easy way you can see.
9:35
So in this easy way you can use this
9:37
Kimik K2 model to basically build some
9:39
kinds of games right here such as Mario
9:42
and also check out my website
9:45
freemediattools.com
9:47
uh which contains thousands of tools.
