# C.O.W.

**C.O.W.** is a a top secret military experiment with the goal to turn ordinary
farm animals into weapons: the **Cows of War**.

But one brave cow managed to breach containment.
That cow is *you*. You want **revenge**!

This is a game for [Luanti](https://luanti.org); version 5.14.0 or later is required.

Proud winner of the [2025 Luanti Game Jam](https://forum.luanti.org/viewtopic.php?p=448097#p448097)!

This is version 1.1.1. (Note: The version for the game jam was 1.0.3.)

## Goal

You have **3 lives** and **2 minutes** to destroy your enemies,
using your deadly **laser eye**.

Collect as many points as possible and improve your highscore!

## Gameplay

Due to military experiments, your body behaves in funny ways:

* Your **laser eye shoots automatically**; it cannot be turned off
* Your **super bouncy body** will bounce off surfaces
* You can **boost** to the left, right, front or back

If you get hit, you lose a life.

The game ends when the timer runs out or you’ve lost all lives.

## Controls

* **Look** at enemies to hit them with laser beams.
* Use the **movement keys** to move.
* Hold down **Aux1** and press a movement key to boost in that direction.
  (This ability needs to recharge, watch the double arrows at the bottom.)
* Hold down the **Jump** key before hitting the ground to gain height
  (only works when your bounce height is low)

You can customize the controls in the Luanti settings.

## On-screen displays

During the game, the following information is shown on the screen:

* The **timer** at the top shows how much time is left before the game ends
* Your **score** is shown at the top right
* The **cow icons** at the top left show how many lives you got (0 = game over)
* When the **double arrows** at the bottom turn green, you can boost

## Troubleshooting

If at any point in time, you somehow are stuck in the game, enter
`/cancel` in chat to return to the game menu.

## Credits

* Idea, design, programming, graphics, sound effects: Wuzzy
* Exception: Cow model and textures based on work by 3December2022 from Sketchfab
    * See `mods/cow_player/README.txt` for details
* Music track "Techno minutes (NES Version)" by Snabisch
    * Source: https://opengameart.org/content/techno-minutes-nes-version
    * Track was transcoded from MP3 to Ogg Vorbis (no other edits)
    * File name in game: `mods/cow_music/cow_music_snabisch_techno_minutes_nes.ogg`
    * Original file name: `techno minutesloopNES.mp3`
    * Original license: [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)
* Special thanks to Lospec.com user skeddles for the Miyazaki 16 Palette

### Disclosure

This game contains a code snippet from a mod from the game
Glitch by Wuzzy in `mods/cow_objects/init.lua` between the
comments “BEGIN BORROWED CODE” and “END BORROWED CODE”. This is
for the code for collecting the stars.

All the other code was written during the development period of
the 2025 Luanti Game Jam.

I justify this with the following game jam rule:
"Gameplay must be your own creation, but you are encouraged to
use existing freely-available modules and assets."

## License

C.O.W., a game about a cybernetically-enhanced cow seeking revenge
Copyright (C) 2025  Wuzzy

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program in `LICENSE_GPL_v3.txt`.
If not, see <https://www.gnu.org/licenses/>.

### Media license

The media files (graphics, sounds, etc.) are released
under the following license:

[Creative Commons Attribution ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/)
