0.0
No commit activity in last 3 years
No release in over 3 years
Pokémon Breeding Matcher and Egg Generator, based on oakdex-pokedex
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

fixer

Gem Version Build Status Maintainability Test Coverage

Based on oakdex-pokemon.

Getting Started

require 'oakdex/breeding'

pok1 = Oakdex::Pokemon.create('Ditto', level: 20)
pok2 = Oakdex::Pokemon.create('Pikachu', level: 20, gender: 'female')

Oakdex::Breeding.compatible?(pok1, pok2) # => true
Oakdex::Breeding.chance_in_percentage(pok1, pok2) # => 20
Oakdex::Breeding.breed(pok1, pok2) #=> Oakdex::Pokemon Pichu

Contributing

I would be happy if you want to add your contribution to the project. In order to contribute, you just have to fork this repository.

Please respect the Code of Conduct.

License

MIT License. See the included MIT-LICENSE file.

Credits

Logo Icon by Roundicons Freebies.