TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made a game, Tippy Coco

29 pointsby malgorithmsover 2 years ago
Tippy Coco is a volleyball game in the browser. You can play with a friend at the same keyboard, or solo challenge the built-in opponents.<p>As for the tech: it&#x27;s all TypeScript + HTML5. I did not use a game engine; I just made a game loop with setTimeout and the artwork is all just png&#x27;s drawn on the canvas. The sound is played through the HTML audio API. Input is watching keyboard events and the Gamepad API.<p>One thing: I know this is 2023 but it&#x27;s not a game for phones. It&#x27;s for a laptop or desktop PC with a physical keyboard. It also works ok on an iPad with a physical keyboard.<p>Tippy Coco is free and without ads. The code is available (MIT license) at <a href="https:&#x2F;&#x2F;github.com&#x2F;malgorithms&#x2F;tippycoco">https:&#x2F;&#x2F;github.com&#x2F;malgorithms&#x2F;tippycoco</a>

8 comments

clusmoreover 2 years ago
This reminds me a lot of Slime Volleyball, which I loved as a kid. Thanks for sharing.
评论 #34784699 未加载
gardenhedgeover 2 years ago
I lol&#x27;d when I realised I could go to my opponents side.
评论 #34784321 未加载
评论 #34783884 未加载
Sami_Lehtinenover 2 years ago
For historical reasons let&#x27;s just mention this: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Arcade_Volleyball" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Arcade_Volleyball</a>
gus_massaover 2 years ago
Perhaps it&#x27;s too late, but it would be interesting to read about how you programed the &quot;AI&quot; for each level. It took me a while to discover that there are a few opponents, but then I was surprised they have very different strategies.
consumer451over 2 years ago
Very fun! Sharing with my nephew as he is learning to code with a focus on games. Thanks!<p>One request would be a volume control.
gus_massaover 2 years ago
It&#x27;s very strange that I can pass to the other side and even touch the ball. I expected that passing the middle would be a fault, or touching the ball in the wrong side would be a fault. (I don&#x27;t remember the exact rules in volleyball now.)
评论 #34783874 未加载
jabzaover 2 years ago
Satisfying physics!
bitcoin01over 2 years ago
Nice! Is there something similar on mobile?