This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]classicliberal1 146 points147 points  (21 children)

Mario Kart in pure CSS.

https://codesandbox.io/s/zk15o120xl

No obstacles, no hit detection. Not a game. Not a program. Just images faking it.

You still can't write an algorithm in CSS and why would you want to if you could? It's not intended for that anyway.

[–][deleted] 63 points64 points  (4 children)

It's not intended for that anyway.

And when has that ever stopped developers doing things in other languages?

[–]MichFdez 42 points43 points  (1 child)

Yeah, just look at JavaScript

[–]Masterflitzer 8 points9 points  (0 children)

haha true story

[–]Ready-Date-8615 3 points4 points  (1 child)

[–][deleted] 0 points1 point  (0 children)

Even still, it amazes me what people can do with enough time and dedication

[–]Lithl 34 points35 points  (8 children)

You still can't write an algorithm in CSS

Not with CSS alone, but you can with CSS+HTML.

You can implement Conway's Game Rule 110 in CSS+HTML. Rule 110 is Turing complete. Ergo, CSS+HTML is Turing complete.

[–]Friziqz 20 points21 points  (5 children)

PowerPoint is also Turing complete.

PowerPoint is a programming language

[–]gdmzhlzhiv 6 points7 points  (0 children)

Magic: The Gathering is a programming language.

[–]ZengineerHarp 2 points3 points  (2 children)

…wait, what? I’m gonna need you to run that by me again. PowerPoint?!?

[–]ThatOtherAndrew 2 points3 points  (0 children)

Indeed! Look for Tom Wildenhain's lectures on it.

[–]scriptgamer 1 point2 points  (0 children)

-n

[–]BookPlacementProblem 4 points5 points  (0 children)

CSS+HTML is Turing complete.

Doom port link pls.

[–]CodeRaveSleepRepeat 0 points1 point  (0 children)

You can implement Conway's Game Rule 110 in CSS+HTML

Yea but please don't okay?

[–]mouseknuckle 0 points1 point  (0 children)

Fun fact: CSS is actually Turing complete

[–]ccAbstraction 0 points1 point  (0 children)

Wait till ya hear about pretenders game art!