The best Hacker News stories from Show from the past day

Go back

Latest posts:

Show HN: I made a browser-based RTS game

I've posted this game here before, hopefully a repost is fine as the game has changed quite a bit (improved AI, improved mapeditor, much quicker gameplay, etc).<p>Game is based on JavaScript/Canvas and WebSockets. On the browser side the map is pre-rendered (as a background image), just the mobile units/buildings and animations are dynamically rendered. The lobby server is made in node.js, but the game server is C++ for performance reasons (mainly the pathfinding). I found the C++ WebSocket libraries out there to be too difficult to use so I made my own based on the rfc. Overall I think making a game like this is quite easy with the browser performance/features nowadays. The game server and client side JavaScript are around 5000 lines of code each.<p>If you have any questions about the tech I'm happy to answer them.

Show HN: I made a browser-based RTS game

I've posted this game here before, hopefully a repost is fine as the game has changed quite a bit (improved AI, improved mapeditor, much quicker gameplay, etc).<p>Game is based on JavaScript/Canvas and WebSockets. On the browser side the map is pre-rendered (as a background image), just the mobile units/buildings and animations are dynamically rendered. The lobby server is made in node.js, but the game server is C++ for performance reasons (mainly the pathfinding). I found the C++ WebSocket libraries out there to be too difficult to use so I made my own based on the rfc. Overall I think making a game like this is quite easy with the browser performance/features nowadays. The game server and client side JavaScript are around 5000 lines of code each.<p>If you have any questions about the tech I'm happy to answer them.

Show HN: I made a browser-based RTS game

I've posted this game here before, hopefully a repost is fine as the game has changed quite a bit (improved AI, improved mapeditor, much quicker gameplay, etc).<p>Game is based on JavaScript/Canvas and WebSockets. On the browser side the map is pre-rendered (as a background image), just the mobile units/buildings and animations are dynamically rendered. The lobby server is made in node.js, but the game server is C++ for performance reasons (mainly the pathfinding). I found the C++ WebSocket libraries out there to be too difficult to use so I made my own based on the rfc. Overall I think making a game like this is quite easy with the browser performance/features nowadays. The game server and client side JavaScript are around 5000 lines of code each.<p>If you have any questions about the tech I'm happy to answer them.

I made a virtual bookshelf

Show HN: Nests and Insects – A roguelike tabletop roleplaying game

Hey, everyone! I'm making a game: its title is Nests & Insects and I call it a "Roguelike Tabletop Roleplaying Game (TTRPG)". It is free, as in beer and speech. You can find the rulebook on the game's github repository, linked through the post title.<p>Nests & Insects is a game for 1 to 7 players, one of which takes on the role of the Game Queen (GQ) and describes the game world to the other players. The players control characters who explore and interact with the game world. The players say what their characters do and roll dice to see what happens, then the GQ describes the results.<p>Players' characters are mercenary arthropods raiding a Nest on a Job from a rival Queen. Characters belong to one of six classes: Ants (plural), Beetle, Ladybug, Scorpion, Spider and Wasp, all modelled after real-world species. Nests are the nests of eusocial insects: Ants, Bees or Termites. The Job is to assasinate the Queen, or the King, or steal larvae, or aphids, or fungi, etc.<p>Nests & Insects is "Roguelike" because it borrows elements from Roguelike Computer RPGs (CRPGs): hack-and-slash, dungeon-crawling gameplay, with procedurally generated Nest environments, lethal combat, and a hunger mechanic.<p>The rulebook on the github repo above is all text-based, but formatted with ASCII borders, text boxes and tables, etc. I wrote a bit of code to automate the layouting (if that's a word). You can find the code in the codez/ directory in the repo. You don't need to mess with the code to play the game, but some of you might want to eyeball the raw text with LaTex-like markup under the directory /game/rulebook/raw and then look at the layouting code. Or you might want to tweak the characters' stats under codez/data/, or make your own characters. The code is all in Prolog :)<p>Nests & Insects is still a work in progress. The rulebook is about 60% complete. There's rules for rolling dice (oo lots of dice!), action resolution, combat and stats for all six character classes and a few enemies (just Termites). If you've run a few TTRPGs you can probably bash together a quick game session, although there's plenty of stuff missing (Items, procedural generation, other minigames besides combat etc).<p>I'm posting here because I'm eager for some feedback and because I'm hoping to build a small community around the game. I'm in the liminal space between finishing my thesis and actually getting a PhD so I have some spare time, but I plan to keep working on the game until it's finished, anyway.<p>Also: I'm looking for ANSI or ASCII art for the rulebook. Anyone know anybody who would want to contribute, please get us in touch.<p>Have fun!

Show HN: I built a site that summarizes articles and PDFs using NLP

Show HN: Videobug – The time travel debugger for JVM

Hi All, this is Shardul here - I am the co-founder of Videobug.<p>https://bug.video<p>We are super excited to share Videobug with you. Videobug records run time code execution so that developers can watch it line by line as frequently as they want, right in their IDE. It takes away the pain of recreating exact conditions that led to a bug and saves developer time in every bug squash.<p>Parth (my co-founder) and I have worked on multiple production grade applications in startups and enterprises.<p>We used Logrocket, Sentry, and Datadog for logging and found ourselves adding more logs after a bug is found.<p>Adding accurate logs required disciplined engineering and collaboration across teams. Time to connect these logs to what’s wrong in the code, took quite sometime.<p>Videobug logs everything automatically. We are super psyched to launch our offline version. We plan to launch a fully self hosted version in 4 weeks from now, which will allow you to record and replay code executions in your staging and production environments.<p>We are looking for product feedback.<p>Here is a 2 min demo explaining how to use Videobug.<p>https://www.youtube.com/watch?v=U53IQifMt54<p>Join our discord channel to share your feedback or in case you need support.<p>https://discord.gg/Hhwvay8uTa<p>P.S. Please note that we collect the following analytics data from your IDE: Your computer hostname, debugging events such as “started debugger”, “fetched exceptions” and “searched for code execution”.

Show HN: Videobug – The time travel debugger for JVM

Hi All, this is Shardul here - I am the co-founder of Videobug.<p>https://bug.video<p>We are super excited to share Videobug with you. Videobug records run time code execution so that developers can watch it line by line as frequently as they want, right in their IDE. It takes away the pain of recreating exact conditions that led to a bug and saves developer time in every bug squash.<p>Parth (my co-founder) and I have worked on multiple production grade applications in startups and enterprises.<p>We used Logrocket, Sentry, and Datadog for logging and found ourselves adding more logs after a bug is found.<p>Adding accurate logs required disciplined engineering and collaboration across teams. Time to connect these logs to what’s wrong in the code, took quite sometime.<p>Videobug logs everything automatically. We are super psyched to launch our offline version. We plan to launch a fully self hosted version in 4 weeks from now, which will allow you to record and replay code executions in your staging and production environments.<p>We are looking for product feedback.<p>Here is a 2 min demo explaining how to use Videobug.<p>https://www.youtube.com/watch?v=U53IQifMt54<p>Join our discord channel to share your feedback or in case you need support.<p>https://discord.gg/Hhwvay8uTa<p>P.S. Please note that we collect the following analytics data from your IDE: Your computer hostname, debugging events such as “started debugger”, “fetched exceptions” and “searched for code execution”.

Show HN: Videobug – The time travel debugger for JVM

Hi All, this is Shardul here - I am the co-founder of Videobug.<p>https://bug.video<p>We are super excited to share Videobug with you. Videobug records run time code execution so that developers can watch it line by line as frequently as they want, right in their IDE. It takes away the pain of recreating exact conditions that led to a bug and saves developer time in every bug squash.<p>Parth (my co-founder) and I have worked on multiple production grade applications in startups and enterprises.<p>We used Logrocket, Sentry, and Datadog for logging and found ourselves adding more logs after a bug is found.<p>Adding accurate logs required disciplined engineering and collaboration across teams. Time to connect these logs to what’s wrong in the code, took quite sometime.<p>Videobug logs everything automatically. We are super psyched to launch our offline version. We plan to launch a fully self hosted version in 4 weeks from now, which will allow you to record and replay code executions in your staging and production environments.<p>We are looking for product feedback.<p>Here is a 2 min demo explaining how to use Videobug.<p>https://www.youtube.com/watch?v=U53IQifMt54<p>Join our discord channel to share your feedback or in case you need support.<p>https://discord.gg/Hhwvay8uTa<p>P.S. Please note that we collect the following analytics data from your IDE: Your computer hostname, debugging events such as “started debugger”, “fetched exceptions” and “searched for code execution”.

Show HN: Recipe search engine, built in vanilla PHP

1) Summary = RecipeHunt(<a href="http://recipehunt.app" rel="nofollow">http://recipehunt.app</a>) is a Recipe Search Engine that gives you the only 3 things that matter in my opinion: (a) Picture, (b) Ingredients, (c) Directions<p>2) Problem = Every recipe site is bloated(e.g. full of ads, long backstory). I just want to see 3 things: Picture, Ingredients, Directions.<p>3) Solution = Built a simple Recipe Search Engine that gives you only those 3 things.<p>4) Tech Stack = Vanilla HTML, CSS, Javascript, PHP, SQL (some JQuery). Frameworks are too complicated for me, so I just wanted to build with what I know.<p>5) Design<p>-Main Feed = Similar to Instagram Explore (Square Shaped Thumbnails).<p>-Categories = Filter by "Country" or "Dish Type".<p>-Search Bar = Quickly go directly to a Recipe or Category.<p>-Recipe Page = Gives you only 1 Picture + Ingredients + Directions + Comments. Separated by tabs (I don't like scrolling).<p>-Paywall(for Spam) = I put up a paywall to prevent spamming (Stripe).<p>6) Content(Recipes) = I manually put in some initial recipes (posted a few for each Country/Dish Type). Challenge is to fill the site with enough recipes to make it useful. May look into Recipe API's and make sure I'm not violating any terms (give source credit in recipe page).<p>7) Conclusion = Just wanted to share this because I think it will solve my own problem (making it less painful to search recipes). Still a work in progress, but hopefully it may be useful to someone else as well.<p>Will happily welcome any feedback! Thanks!<p>-nsemikey

Show HN: Recipe search engine, built in vanilla PHP

1) Summary = RecipeHunt(<a href="http://recipehunt.app" rel="nofollow">http://recipehunt.app</a>) is a Recipe Search Engine that gives you the only 3 things that matter in my opinion: (a) Picture, (b) Ingredients, (c) Directions<p>2) Problem = Every recipe site is bloated(e.g. full of ads, long backstory). I just want to see 3 things: Picture, Ingredients, Directions.<p>3) Solution = Built a simple Recipe Search Engine that gives you only those 3 things.<p>4) Tech Stack = Vanilla HTML, CSS, Javascript, PHP, SQL (some JQuery). Frameworks are too complicated for me, so I just wanted to build with what I know.<p>5) Design<p>-Main Feed = Similar to Instagram Explore (Square Shaped Thumbnails).<p>-Categories = Filter by "Country" or "Dish Type".<p>-Search Bar = Quickly go directly to a Recipe or Category.<p>-Recipe Page = Gives you only 1 Picture + Ingredients + Directions + Comments. Separated by tabs (I don't like scrolling).<p>-Paywall(for Spam) = I put up a paywall to prevent spamming (Stripe).<p>6) Content(Recipes) = I manually put in some initial recipes (posted a few for each Country/Dish Type). Challenge is to fill the site with enough recipes to make it useful. May look into Recipe API's and make sure I'm not violating any terms (give source credit in recipe page).<p>7) Conclusion = Just wanted to share this because I think it will solve my own problem (making it less painful to search recipes). Still a work in progress, but hopefully it may be useful to someone else as well.<p>Will happily welcome any feedback! Thanks!<p>-nsemikey

Show HN: Recipe search engine, built in vanilla PHP

1) Summary = RecipeHunt(<a href="http://recipehunt.app" rel="nofollow">http://recipehunt.app</a>) is a Recipe Search Engine that gives you the only 3 things that matter in my opinion: (a) Picture, (b) Ingredients, (c) Directions<p>2) Problem = Every recipe site is bloated(e.g. full of ads, long backstory). I just want to see 3 things: Picture, Ingredients, Directions.<p>3) Solution = Built a simple Recipe Search Engine that gives you only those 3 things.<p>4) Tech Stack = Vanilla HTML, CSS, Javascript, PHP, SQL (some JQuery). Frameworks are too complicated for me, so I just wanted to build with what I know.<p>5) Design<p>-Main Feed = Similar to Instagram Explore (Square Shaped Thumbnails).<p>-Categories = Filter by "Country" or "Dish Type".<p>-Search Bar = Quickly go directly to a Recipe or Category.<p>-Recipe Page = Gives you only 1 Picture + Ingredients + Directions + Comments. Separated by tabs (I don't like scrolling).<p>-Paywall(for Spam) = I put up a paywall to prevent spamming (Stripe).<p>6) Content(Recipes) = I manually put in some initial recipes (posted a few for each Country/Dish Type). Challenge is to fill the site with enough recipes to make it useful. May look into Recipe API's and make sure I'm not violating any terms (give source credit in recipe page).<p>7) Conclusion = Just wanted to share this because I think it will solve my own problem (making it less painful to search recipes). Still a work in progress, but hopefully it may be useful to someone else as well.<p>Will happily welcome any feedback! Thanks!<p>-nsemikey

Show HN: Tetris, but silly

Hello HN!<p>You can read this [1] blog post if you want to know more about some ideas that I have for this thing. This is just an experiment right now, there isn't any real game (yet). Any feedback would be appreciated, do you think this could become something that would be fun to play?<p>[1] <a href="https://unit520.net/posts/dead-trees-an-absurdist-block-laying-game-prototype/" rel="nofollow">https://unit520.net/posts/dead-trees-an-absurdist-block-layi...</a>

Show HN: Tetris, but silly

Hello HN!<p>You can read this [1] blog post if you want to know more about some ideas that I have for this thing. This is just an experiment right now, there isn't any real game (yet). Any feedback would be appreciated, do you think this could become something that would be fun to play?<p>[1] <a href="https://unit520.net/posts/dead-trees-an-absurdist-block-laying-game-prototype/" rel="nofollow">https://unit520.net/posts/dead-trees-an-absurdist-block-layi...</a>

Show HN: Tetris, but silly

Hello HN!<p>You can read this [1] blog post if you want to know more about some ideas that I have for this thing. This is just an experiment right now, there isn't any real game (yet). Any feedback would be appreciated, do you think this could become something that would be fun to play?<p>[1] <a href="https://unit520.net/posts/dead-trees-an-absurdist-block-laying-game-prototype/" rel="nofollow">https://unit520.net/posts/dead-trees-an-absurdist-block-layi...</a>

Show HN: Interactive Circle of Fifths

Show HN: Interactive Circle of Fifths

Turing Pi 2

Turing Pi 2

Show HN: Take a Passport Photo in the Browser

< 1 2 3 ... 575 576 577 578 579 ... 832 833 834 >