Skip to content
Projetos

Sobre

É a batalha eterna entre o dia e a noite, o bem e o mal. Feito em JavaScript, com um pouco de HTML e CSS, tudo em um único arquivo index.html.

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+1
em 7 dias
+1
em 15 dias
-2
em 1 mês
0

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Pong Wars

It's the eternal battle between day and night, good and bad. Written in JavaScript with some HTML & CSS in one index.html. Feel free to reuse the code and create your own version.

https://github.com/vnglst/pong-wars/assets/3457693/4eae12fa-bdc1-49ee-8b39-c94deb7cb2c8

Development

Run:

npx serve

Open up the link and you're ready to start.

Credits

I saw this first here, but it appears to be a much older idea. There's some more information on the history in the Hacknernews discussion.

The colors are based on the Mindful Palette by Alex Cristache.

Submitting PRs

I love getting feedback and PRs with improvements for this, but I also want to keep this simple and the code minimal. If you want to extend the game, feel free to create your own. If you found a way to improve the collision detection (or a better way to add some randomness), feel free to open a PR.

Links

Alternate version

If you've created an alternate version of Pong Wars and would like to share it, please feel free to create a pull request to add the link here.

The alternate versions are listed below in alphabetical order:

Explore projetos relacionados

Carregando…