Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Some experimentation with the F# language -- Functional programming HYPE

Notifications You must be signed in to change notification settings

MatheusAvellar/fsharp-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F# experiments

Some experimentation with the F# language -- Functional programming HYPE

resizepong.fs [coming soon]

The actual project is on another repository, but I'll add the F# file once it's done.

Basically, a game of Pong where the player controls the paddle only by resizing the window (trust me, it's really hard to play).

(yes, I know this is the only Windows 7 screenshot and yes, it bugs me too. I'll change it eventually)


search.fs

A simple algorithm to search through an ordered array, ranging from 10 to 100, for the number 51. It returns the position of that element on the array.

It uses both regular for iteration and binary search to find the position, and returns both findings (which are indeed the same).


stillalive.fs

A simple Console.Beep() version of the famous hit song "Still Alive" from the "Portal" game. A recording is available on YouTube.

I actually learned how to read music sheets in the process of making this, so that's a bonus.


tictactoe.fs

A simple console implementation of a Tic Tac Toe game, developed in F#.

Here are some screenshots:

About

Some experimentation with the F# language -- Functional programming HYPE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages