亂貼小站公告欄

目前日期文章:200802 (2)

瀏覽方式: 標題列表 簡短摘要

/*
這是我最近的成果喔
請各位大大玩過之後給我點意見   多謝大家
這是原始碼   要自己編譯
http://gogobox.com.tw/taichunmin 可以下載執行檔
*/
#include
#include
#include
#include
#include "reciprocal.h" //倒數時顯示數字用的函式在此 (自訂)
#define degree_of_difficulty 10000
using namespace std;

int velocity=200;//速度 用於 Sleep() 函式的變數 越大越慢

char bodysign[3]="▉",headsign[3]="○",foodsign[3]="☆";
int move_head(int *head,int direction,char board[],int va[])
{
  int x=*head%80,y=*head/80;
  bool eat_food=false;
  if(direction==2 && y>=24)return 0;

和風信使 發表在 痞客邦 PIXNET 留言(1) 人氣()

//要接上一篇文章喔
          cout<<"║                              2 . 數 值 設 定                               ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                         任意數 . 繼 續 遊 戲                               ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"║                                                                            ║";
          cout<<"╚══════════════════════════════════════╝";
          cout<<" 請輸入 -> ";
          choice=0;
          cin>>choice; cin.get();
          if(choice==1)break;
          else if(choice==2)
          {
            while(choice!=0)

和風信使 發表在 痞客邦 PIXNET 留言(0) 人氣()