From 33fa5bfab8ea6f9f75ce2aefdcac668799554e3d Mon Sep 17 00:00:00 2001 From: paladin-t Date: Thu, 3 Mar 2016 18:19:21 +0800 Subject: [PATCH] -removed sample file link from project; +added sample readme. --- my_basic.vcproj | 144 ------------------------------------------ sample/README.md | 40 ++++++++++++ sample/yard/README.md | 10 +-- 3 files changed, 45 insertions(+), 149 deletions(-) create mode 100644 sample/README.md diff --git a/my_basic.vcproj b/my_basic.vcproj index b4a7a34..e4f34a4 100755 --- a/my_basic.vcproj +++ b/my_basic.vcproj @@ -206,150 +206,6 @@ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample/README.md b/sample/README.md new file mode 100644 index 0000000..4e90ae7 --- /dev/null +++ b/sample/README.md @@ -0,0 +1,40 @@ +## Samples of MY-BASIC + +**Copyright (C) 2011 - 2016 Wang Renxin. All rights reserved.** + +This folder contains severial sample code of MY-BASIC. + +### Contents + +**Fundamental** + +Including loop, condition, and other fundamental statements. + + sample01.bas + sample02.bas + sample03.bas + sample04.bas + +**Sub routine** + + sample05.bas + +**Prototype based class** + + sample06.bas + +**A Brainfuck interpreter in MY-BASIC** + + sample07.bas + +**YARD (Yet Another RPG Dungeon)** + + yard/entity.bas + yard/goal.bas + yard/level.bas + yard/map.bas + yard/monster.bas + yard/npc.bas + yard/player.bas + yard/start.bas + yard/utils.bas diff --git a/sample/yard/README.md b/sample/yard/README.md index 8bbfa9b..be4c32f 100644 --- a/sample/yard/README.md +++ b/sample/yard/README.md @@ -4,21 +4,21 @@ Yet Another RPG Dungeon is a text based game. It's aimed to be a comprehensive example and or a tutorial which shows multiple concepts of MY-BASIC. -Usage +### Usage -**Windows:** +**Windows** my_basic start.bas -**OS X:** +**OS X** my_basic_mac start.bas -**Others:** +**Others** my_basic_bin start.bas -**Note:** +**Note** It requires an importing directories information if the working directory of your interpreter is `my_basic/output/`: