Write some software

キャンセルされた 投稿 7年前 着払い
キャンセルされた 着払い

Windows C或C++ A fun project using a De0 board along with its VGA connections to produce a video game. The video game is simple, just a matching game that initially begins with all numbers faced down, then after choosing two values, determines whether they are a match or not and continues fourth.

Addresses that are needed would be

pixel address= 0x08000000;

interval timer = 0x10002000;

For further explanation, we would specifically like a 4 by 4 board that contains

8 characters (since each character should have another similar to it ) these characters can be numbers, letters, or symbols.

*** If possible to generate random locations of these characters at the beginning of a new game

Done before the 7th of April.

--------------------------------------------

#include <stdio.h>

void drawpixel(int x_vga, int y_vga, short color)

{

volatile char *pixel_address = (volatile char*)(0x08000000 + (y_vga<<7) + (x_vga));

*pixel_address = color;

}

void clearscreen()

{

int x_vga, y_vga;

for (x_vga = 0; x_vga <= 79; x_vga = x_vga + 1)

{

for (y_vga = 0; y_vga <= 59; y_vga = y_vga + 1) //VGA Resolution is 639 by 478 !!!! or half of it

{

drawpixel(x_vga, y_vga, 82);

}

}

}

int main(void)

{

clearscreen();

int x_max, y_max, x_start, y_start;

for(x_max = 10; x_max < 69 ; x_max=x_max+1) //*background

{

drawpixel(x_max,10,250);

}

for(x_max = 10; x_max < 69; x_max=x_max+1)

{

drawpixel(x_max,49,250);

}

for(y_max=10; y_max < 49; y_max=y_max+1)

{

for(x_start = 10; x_start < 69; x_start=x_start+1)

{

drawpixel(x_start, y_max, 250);

}

}

for(y_max=10 ; y_max < 50; y_max=y_max+1) //*lines making the board

{

drawpixel(20, y_max, 0);

drawpixel(30, y_max, 0);

drawpixel(40, y_max,0);

drawpixel(50, y_max, 0);

drawpixel(60, y_max, 0);

}

for(x_max=10; x_max < 69; x_max=x_max+1)

{

drawpixel(x_max, 10, 0);

drawpixel(x_max, 20, 0);

drawpixel(x_max, 30, 0);

drawpixel(x_max, 40, 0);

drawpixel(x_max, 50, 0);

}

return 0;

}

Here I have a code that already includes a background of a 4 by 4 table already outlined, the characters, along with the values need to be included. Color isn’t important for things like character color, along with the board size but as long as it follows the parameters set.

x > 79; y > 59

If there are any more questions on what further needs to be done, we will try our best to reply as quickly as we can.

8 bit color map  [url removed, login to view];_ylt=A0LEViMjvNpY0ZMAQx8PxQt.;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=8+Bit+Color+Map&fr=yhs-iry-fullyhosted_003&hspart=iry&hsimp=yhs-fullyhosted_003#id=0&iurl=http%3A%2F%[url removed, login to view]%2Fwp-content%2Fuploads%2F2009%2F10%2F8b_colormap.png&action=click

C プログラミング C++プログラミング ソフトウェアアーキテクチャ ウィンドウズデスクトップ

プロジェクトID: #13548314

プロジェクトについて

5個の提案 リモートプロジェクト アクティブ 7年前

5人のフリーランサーが、平均$154 で、この仕事に入札しています。

Yknox

Hello. I've just read your job posting and I’m very interested. I'm a certificated freelancer with almost 650 good reviews from clients. I have full skills in Android, IPhone, JAVA, C++ & C & C#, PHP, Qt, ASP.Net, もっと

$250 USD 3日以内
(455件のレビュー)
8.3
raulbehl

Hello! Please check my profile/reviews to know a bit about me. It would be great if I could help you out. Thank you!

$155 USD 3日以内
(22件のレビュー)
4.1
samrobinson817

Hello? How are you? I can finish on time. I am good in c and c++. I have enough experiences in Desktop 5+ years. If you interesting me, i can give good result. Hope you will help me.

$55 USD 3日以内
(0件のレビュー)
0.0
khanmahmud4

Hi, I’m dedicated professional Web and Desktop Programmer & Developer and freelancer only. I have been working with challenge and hope to improve future plan with good network every client. If any client want to get もっと

$222 USD 10日以内
(0件のレビュー)
0.0
bailong19891228

Hello If you're interested in top quality work and communication please read on! You can feel free to check out my portfolio available through my freelancer profile. My portfolio is very in depth and shows you exactly もっと

$155 USD 3日以内
(0件のレビュー)
0.0