Package 'hiscore'

Title: Play Games with Saved High Scores
Description: Play simple interactive games in the console and have your high scores saved to your local machine.
Authors: Matt Dray [aut, cre]
Maintainer: Matt Dray <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-10-16 04:15:54 UTC
Source: https://github.com/matt-dray/hiscore

Help Index


Delete Saved Game Data

Description

Delete Saved Game Data

Usage

delete_save_data()

Value

Nothing.

Examples

## Not run: delete_save_data()

Fetch Saved Game Data

Description

Fetch Saved Game Data

Usage

get_save_data()

Value

Nothing.

Examples

## Not run: get_save_data

Play a Coinflip Game

Description

A simple interactive game of chance in the console. The user guesses heads or tails by typing 'H' or 'T'. The best streak is saved as a high score, which is saved to the user's computer and is persistent between sessions.

Usage

play_coinflip()

Value

Nothing.

Examples

## Not run: play_coinflip()