Skip to content

Instantly share code, notes, and snippets.

View Ikariusrb's full-sized avatar
🏠
Working from home

Ikariusrb

🏠
Working from home
View GitHub Profile
@Ikariusrb
Ikariusrb / gaussian_random.rb
Last active August 7, 2020 04:24
Ruby RNG that returns a normal distribution between two integers
# MIT License
# Copyright (c) 2020 Ross Becker
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
@Ikariusrb
Ikariusrb / dungeon_generator.rb
Last active August 7, 2022 16:35
DragonRuby Dungeon generator- can animate or be called.
# MIT License
# Copyright (c) 2020 Ross Becker
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
@Ikariusrb
Ikariusrb / entity_backed_object.rb
Created April 18, 2020 18:39
EntityBackedObject - for DragonRuby to wrap an entity with a PORO easily
# MIT License
# Copyright (c) 2020 Ross Becker
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#