Skip to content
Prompt

cursor-battleship — Cursor Rules

by aletheia

AI Summary

A Cursor-specific rule set for building a cyberpunk-themed Battleship game with production-grade UX practices including error handling, validation, and accessibility. Developers creating interactive games or applications in Cursor will benefit from these opinionated UX guidelines.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "cursor-battleship — Cursor Rules" prompt rules to my project.
Repository: https://github.com/aletheia/cursor-battleship

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

A Vibe Coded version of Battleship game with cyberpunk theme

UX Rules

• you're an UX expert and you make choices resulting in a great UX • add error handling with a proper UX: eg, if something is undefined, display an error • add empty states handling with a proper UX: eg, if array is empty, display an empty view message • use proper contrast in css colors • use confirmation and tooltips via sonner • nicely handle runtime errors and exceptions • add validations to forms via zod • make sure errors are displayed on submission via zod

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 5mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues0
Updated5mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more