Harvest by Dev_314
Harvest

Link
Description
This is a game made for The Ludum Dare 52 game jam. The theme was "Harvest".
Based on this theme, I decided to make a game where you harvest artifacts from the beach. You use your metal detector to find the artifacts, and then you dig them up. Each artifact found increases your score, and the game ends when you run out of time.
You're given 60 seconds to find as many artifacts as you can. Initially there are 10 hidden artifacts, but as you find them, more will spawn.
Controls
- Left click to dig up artifacts
- Right click to use your metal detector
Language
The game is written in JS, HTML and CSS. It uses no external libraries/frameworks/APIs.
Program Structure
The game is split into 3 main parts:
- index.html - The HTML file that contains the game canvas and the game's UI
- main.js - The main JS file that contains the game's logic
- style.css - The CSS file that contains the game's styling
It also contains an assets folder that contains all the game's assets.
License
Copyright (C) 2023 DEV_314 This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details
Behind the Scenes
Who done it?
I've been experimenting with Github's Copilot lately. The motivation for this game was to really see how far I could push Copilot. Could it design and program an entire game with minimal 'parental' oversight? Mostly yes. I did the art, Copilot did the design, and the code was about 70% Copilot in the end (it led and I edited). As expected, I did have to go at it with an abstract -> specific design mindset, but it really managed to hold onto the themes and design it came up with. Overall while I wouldn't want to try this again, it does show me how much I can lean on Copilot in other projects.
The rules / Drama Lamma Jam
When I started this game on Friday, Jan 6th, there was little information at all about any rules (no linked rules in the event posting). On my own I noticed the "LDJAM Rules" link at the bottom of the page, but that page did not (and still does not on Sunday Jan 8th) contain anything about "AI Generated" anything. After I was about 50% of the way done (Saturday sometime I think?), I noticed the event posting was replaced with one with much more information, and specifically with this line:
"NOTE: Please submit games built with AI generators as Jam or Extra games, and not the Compo (we’re still working on the new generators policy)"
After looking around the main site a bit it was not clear to me what "AI Generators" means, so I decided Copilot was not an AI generator, and I submitted it as a Compo game. If this ends up being incorrect, I'll be happy to change it to a Jam game.
| Original URL | https://ldjam.com/events/ludum-dare/52/harvest-2 |
Ratings
| Overall | 332th | 2.526⭐ | 21🧑⚖️ |
| Fun | 328th | 2.368⭐ | 21🧑⚖️ |
| Innovation | 238th | 3.053⭐ | 21🧑⚖️ |
| Theme | 268th | 3.105⭐ | 21🧑⚖️ |
| Graphics | 313th | 2.667⭐ | 20🧑⚖️ |
| Humor | 248th | 2.118⭐ | 19🧑⚖️ |
| Mood | 314th | 2.353⭐ | 19🧑⚖️ |
| Given | 15🗳️ | 13🗨️ |
Thanks for your feedback! Ya those came up in my testing but I didn't think much of it. I'll probably work on getting those fixed now!
@johnnysix,
Thanks for your feedback! Yes and No on your question. It's all mine but there's not really an engine, just some JS that draws stuff with Canvas.
@candlesan, Minesweeper never even crossed my mind, but ya it does have similar vibes. Thanks for your feedback!
@commanderstitch, Thanks for your feedback, that's very odd! The game itself doesn't use a background and is just drawn over the HTML page, which just uses the [background-image](https://developer.mozilla.org/en-US/docs/Web/CSS/background-image) property to set the background to a tiled assets/sand.png . As far as I can tell this is a well supported property which doesn't appear to have many problems, but maybe you've discovered a new edge case!? While I'm unable to replicate this across my devices, I'll keep an eye on it to see if it pops back up.