can a game be created using html only? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

can a game be created using html only?

no use of canvas or js

18th Jun 2017, 5:07 PM
Deepak Bisht
Deepak Bisht - avatar
20 Answers
+ 13
I don't know if it's possible. For me, I think not. Because JavaScript is the one making your webpage interactive. Not interacting with your page can't be a game.
18th Jun 2017, 5:18 PM
Marco Macdon
Marco Macdon - avatar
+ 10
@Mario L. Thanks for the links. Those are eye-opening stuff. I hope you don't mind if I share them.
20th Jun 2017, 4:22 PM
Hatsy Rei
Hatsy Rei - avatar
+ 9
of course it's possible. maybe a text based game with some images and no track of stats. but it's definitely possible.
18th Jun 2017, 5:32 PM
Mario L.
Mario L. - avatar
+ 8
YES! why did no one google the question? http://victordarras.fr/cssgame/ http://ryan-kahn.com/static/onlyCSS/ no use of JavaScript... and http://www.instructables.com/id/Create-Your-Own-Adventure-Game-HTML/ can be done without the inline css... text based as I mentioned before... q.e.d.
20th Jun 2017, 4:16 PM
Mario L.
Mario L. - avatar
+ 7
Well, there's an Interactive Fiction game. The right plot and each "decision" could link to the next page, soooo....... Yes. (And I'm not even a web dev. Shame on y'all who said 'no' to OP)
19th Jun 2017, 1:28 AM
Jamie
Jamie - avatar
+ 7
very simple games can be created by html5
19th Jun 2017, 9:08 AM
Mohammed Yagoub
Mohammed Yagoub - avatar
+ 5
i would love to see game using html only.if anybody can post one
18th Jun 2017, 5:35 PM
Deepak Bisht
Deepak Bisht - avatar
+ 5
Nope, JavaScript adds the win and loss... CSS can also be considered for more creative styled codes
18th Jun 2017, 6:08 PM
Iwan
Iwan - avatar
+ 5
@Mario L. your first answer was right, I just don't know what to reply. I remembered the first Web based app I created, Offline shopping site was only pure html😅 and that time was HTML5 didn't exist yet😊
20th Jun 2017, 11:44 PM
Marco Macdon
Marco Macdon - avatar
+ 4
I'd say it isn't possible either, because a game needs you to be able to win or lose, depending on what you do. And if you need to do something, you need JavaScript.
18th Jun 2017, 6:03 PM
Maart
Maart - avatar
+ 4
yes completely possible but would be a word game and not much or graphics or action
19th Jun 2017, 7:17 PM
Amit Yadav
Amit Yadav - avatar
+ 4
@Hatsy Rei of course not. they're not my property. feel free to share them.
20th Jun 2017, 5:19 PM
Mario L.
Mario L. - avatar
+ 3
HTML for make webpages
19th Jun 2017, 9:29 PM
alireza
alireza - avatar
+ 1
No
20th Jun 2017, 1:13 PM
Iwan
Iwan - avatar
+ 1
no.. bro.. can't be possible u have to add. some language which have var or object oriented language ...
21st Jun 2017, 5:01 AM
Sudhanshu Prajapati
Sudhanshu Prajapati - avatar
+ 1
I made two games: First one was simple: https://code.sololearn.com/WgSpmu7j0qGZ/?ref=app Second one is better, and was harder to make: https://code.sololearn.com/Ws91M6dybzI8/?ref=app
28th Jul 2020, 10:04 PM
Karak10
Karak10 - avatar
+ 1
Maart in my second game you can both win or lose, and this was done with simple SVG animate usage.
28th Jul 2020, 10:07 PM
Karak10
Karak10 - avatar
0
Just a cover page for game not game coz without Java and css you can't play even can't interact
19th Jun 2017, 10:52 AM
Thakur Sanjay
Thakur Sanjay - avatar
0
now am confused ! is it a yes or no ??
20th Jun 2017, 1:12 PM
Agboola Toluwalope George
Agboola Toluwalope George - avatar
0
Deepak Bisht I know I'm late, but you can check my games if you want.
28th Jul 2020, 10:06 PM
Karak10
Karak10 - avatar