An open API service indexing awesome lists of open source software.

https://github.com/loftwah/bogan_hustler

Bogan Hustler. A modern day and Australian take on the old drugwars/dopewars game. For educational purposes only.
https://github.com/loftwah/bogan_hustler

bun game tailwindcss typescript vite vitest

Last synced: 8 months ago
JSON representation

Bogan Hustler. A modern day and Australian take on the old drugwars/dopewars game. For educational purposes only.

Awesome Lists containing this project

README

          

# ๐Ÿฆ˜ Bogan Hustler



Your Underground Empire Awaits in the Land Down Under ๐Ÿ‡ฆ๐Ÿ‡บ


[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![React](https://img.shields.io/badge/React-19.0.0-blue.svg)](https://reactjs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.7.2-blue.svg)](https://www.typescriptlang.rg/)
[![Vite](https://img.shields.io/badge/Vite-6.1.0-646CFF.svg)](https://vitejs.dev/)
[![TailwindCSS](https://img.shields.io/badge/TailwindCSS-3.4.1-38B2AC.svg)](https://tailwindcss.com/)

![ogimage](https://github.com/user-attachments/assets/3e875869-2868-4075-8675-4390c097f951)

## ๐ŸŽฎ Play Now

[Play Bogan Hustler](https://boganhustler.deanlofts.xyz)

## ๐Ÿ“– About

Bogan Hustler is an Australian-themed trading game where you build your underground empire. Buy low, sell high, and navigate the streets of various Australian locations while avoiding the authorities and managing your reputation.

### ๐ŸŒŸ Features

- **Dynamic Market System**: Prices fluctuate based on supply, demand, and market events
- **Multiple Locations**: Travel across different Australian cities and regions
- **Reputation System**: Build your street cred to unlock better prices and opportunities
- **Inventory Management**: Strategically manage your limited cargo space
- **Random Events**: React to unexpected situations that can make or break your empire
- **Family-Friendly Mode**: Toggle between adult and family-friendly content
- **Responsive Design**: Play seamlessly on desktop or mobile devices
- **Dynamic Combat System**: Engage in fights with different types of opponents, each with unique abilities and strategies

## ๐Ÿš€ Getting Started

### Prerequisites

- Node.js (v18 or higher)
- Bun (recommended) or npm

### Installation

```bash
# Clone the repository
git clone https://github.com/loftwah/bogan_hustler.git

# Navigate to project directory
cd bogan_hustler

# Install dependencies
bun install
# or
npm install

# Start development server
bun dev
# or
npm run dev
```

## ๐ŸŽฏ Game Objectives

1. Start with limited cash and build your empire
2. Navigate market fluctuations to maximize profits
3. Manage your reputation and avoid police attention
4. Upgrade your capabilities:
- Increase inventory space
- Improve police evasion
- Enhance market intelligence

## ๐ŸŽฎ Controls

- **Mouse/Touch**: Navigate menus and make trades
- **Keyboard Shortcuts**:
- `I`: Toggle inventory
- `M`: Open market screen

## ๐Ÿ› ๏ธ Tech Stack

- **Frontend**: React + TypeScript
- **State Management**: Redux Toolkit
- **Styling**: TailwindCSS
- **Build Tool**: Vite
- **Testing**: Vitest
- **Icons**: FontAwesome
- **Notifications**: React-Toastify

## ๐Ÿงช Testing

```bash
# Run tests
bun run test

# Run tests with coverage
bun run test:coverage

# Run tests with UI
bun run test:ui
```

## ๐Ÿ“ฆ Building for Production

```bash
# Build the project
bun run build

# Preview production build
bun run preview
```

## ๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## ๐Ÿ“œ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ™ Acknowledgments

- Inspired by classic trading games
- Built with โค๏ธ in Australia
- Special thanks to all contributors

## ๐Ÿ“ฑ Connect

- GitHub: [@loftwah](https://github.com/loftwah)
- Twitter: [@loftwah](https://x.com/loftwah)
- More Links: [linkarooie.com/loftwah](https://linkarooie.com/loftwah)

---

Made with โค๏ธโค๏ธโค๏ธ in Australia