Skip to content

Instantly share code, notes, and snippets.

View dubesoftware's full-sized avatar
🖥️

Lloyd Dube dubesoftware

🖥️
View GitHub Profile
@dubesoftware
dubesoftware / auction.rb
Last active January 25, 2022 11:36
A sample auction system in Ruby
class Agent
# This will already be implemented and is not part of this exercise
def initialize; end
# This will return the amount (integer) by which the agent wants to increase its bid by
# (i.e. how much they want to add onto their bid as it stands so far)
# This will already be implemented and is not part of this exercise
def get_bid_increase; end
end
class Bidding