Giter Site home page Giter Site logo

rowan-mcalpin / hawkdovecalculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 88 KB

A small project that calculates the optimal ratio of two different strategies. Credit to Richard Dawkins' 'The Selfish Gene' for the explanation and equations.

C# 100.00%

hawkdovecalculator's Introduction

HawkDoveCalculator

Summary

This is a simple program that compiles all of the hawk-dove information from Richard Dawkins' The Selfish Gene into an easy-to-use calculator. Instead of crunching the numbers to calculate a hawk-dove ESS, the program calculates it for you.

The default values for WinPayoff, LosePayoff, InjuryPayoff, and WasteTimePayoff are the arbitrary values defined in The Selfish Gene.

Usage

To use, download, extract, and run the C# code, or access it in the web here (link to repl.it).

The variables to edit are all at the very top.

Contribute

This was made as a side project for my schooling, and I decided to publish it online. If you encounter a problem, feel free to open an issue, or try to fix it yourself and open a pull request.

This was not designed to be a fully-fledged calculator, it was purely to further my understanding of the equations and calculations that Richard Dawkins introduced to me.

If you would like to fork the project and add features or optimize it, please feel free to do so. All I ask is that you credit me and/or link to this page.

If an official license should become necessary, I will select a predefined one (or write it myself) at a later date.

Going further

As I stated above, I wrote this as a fun little experiment. I might convert it into a web application for people to play around with.

I will also likely make small bug fixes or optimizations, but this is a side project and I will not be devoting a large amount of attention to it.

Changelog

  • 4-14-22: Upload first release to GitHub.
  • 4-14-22: Add documentation.
  • 4-14-22: Create README in the main branch.

hawkdovecalculator's People

Contributors

rowan-mcalpin avatar

Watchers

 avatar

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.