Git Product home page Git Product logo

learning-fsharp's People

Contributors

iivchenko avatar

Watchers

 avatar

learning-fsharp's Issues

Ideas for Games

  • Guess a number (func; no framework)
  • tic-tac-toe (func and imp)
  • The 15 Puzzle (func and imp)
  • Evolution (func and imp)
  • Tanks
  • See battle
  • Tetris (func and imp)
  • Snake (func and imp)

Project structure

Full names for data structures (LearningFSharp.Structures assebly):

  • LearningFSharp.Structures.List
  • LearningFSharp.Structures.Stack
  • LearningFSharp.Structures.Tree

LearningFSharp.ConsoleGame (assembly) - basic stuff for framework
LearningFSharp.Games - folder with games based on ConsoleGame

Provide unit tests for MyList

All the test method that are persist in MyList.fs should be moved to a separate test file in separate test assembly

Recursion investigation

Simple recursion:

  • Write a simple recursion
  • Check it fails with stack overflow
  • Decompile and study the code

Tail recursion with accumulator:

  • Write a simple recursion
  • Check it fails with stack overflow
  • Decompile and study the code

Tail recursion with continuation:

  • Write a simple recursion
  • Check it fails with stack overflow
  • Decompile and study the code

Update README.md

Provide repository description with information about data structures, game framework and implemented games

Implement BYTECODE pattern

It looks like a good idea to write some assembler language (stack based of course) with Virtual Machine.
It should be extensible so the parser, interpreter will be implemented as a Chain of Responsibility and each operation will be presented as a separate entity so it will be possible to implement own primitive operations

Sub tasks:

  • Provide attribute/reflection based command addition
  • Extend 'String' Command to identify strings only by double quotes
  • Extend ADD, SUB, MUL, DIV commands to pass parameters
  • Provide full script validation
  • Provide script output to the console with colors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.