Giter VIP home page Giter VIP logo

re4-pick-a-gun's Introduction

The re4-pick-a-gun service!

I've over 200 hrs in RE4 and it is one of the best games of 2023.

I wanted to spice up my runs by choosing a random gun for every chapter.

I initially wrote this down in pen and paper but I lose those too easily. I thought this would be a fun project for Golang and I'm presenting the pick-a-gun service!

Feature

When starting a new game, start the app and it will pick a gun for the first chapter. Every time you finish the chapter, click roll

There is a save and load feature for saving your progress.

example-image

Compiling on your machine

Compiling for MacOS

After installing go dependencies run

fyne package -os darwin -icon icon.png

Compiling for Windows

To compile for windows, I use fyne-cross. Builds into the fyne-cross directory which I've just gitignored.

fyne-cross windows -output re4-pick-a-gun -arch=amd64

run the .exe file that gets created in.

The save feature will save a file to data.json

Testing

I just use the commands to run some tests

go test -coverprofile=coverage.out
go tool cover -html=coverage.out

Desired features

  • Pick a single weapon type(e.g. handguns only). - DONE, upcoming release
  • Pick a custom list of weapons.
  • Save multiple files.
  • re-roll

References

fyne-cross

re4-pick-a-gun's People

Contributors

jorge-sepulveda avatar

Stargazers

 avatar Lubomir Anastasov avatar Clayton Kehoe avatar

Watchers

 avatar

re4-pick-a-gun's Issues

Core testing

I hacked this up and I made it work. I should at least add some testing in here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.