15 lines
258 B
Ruby
15 lines
258 B
Ruby
# Nathan Hinton 2 Oct 2025
|
|
|
|
|
|
# Class for the player. For now does not do much.
|
|
class Player
|
|
attr_reader :name
|
|
|
|
# initializes with just the player name.
|
|
#
|
|
# @param name [String] The name of the player
|
|
def initialize(name)
|
|
@name = name
|
|
end
|
|
end
|