1665944280
A CHIP-8 emulator written in Rust.
To compile the project Rust is required.
Run the following command in the project directory to generate the executable:
$ cargo build --release
The resulting executable can be found under target/release/chip8
in the project
directory.
To run a game, invoke the executable with a path to a ROM file like so:
$ chip8 br8kout.ch8
See the CHIP-8 archive for a
collection of modern CHIP-8 games to play.
The following is the original CHIP-8 keyboard layout:
1 | 2 | 3 | C |
4 | 5 | 6 | D |
7 | 8 | 9 | E |
A | 0 | B | F |
This emulator maps those keys onto the following for modern (QWERTY) keyboards:
1 | 2 | 3 | 4 |
Q | W | E | R |
A | S | D | F |
Z | X | C | V |
This project is licensed under the MIT License.
Author: vzwGrey
Source Code: https://github.com/vzwGrey/chip-8
1643176207
Serde
*Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.*
You may be looking for:
#[derive(Serialize, Deserialize)]
Click to show Cargo.toml. Run this code in the playground.
[dependencies]
# The core APIs, including the Serialize and Deserialize traits. Always
# required when using Serde. The "derive" feature is only required when
# using #[derive(Serialize, Deserialize)] to make Serde work with structs
# and enums defined in your crate.
serde = { version = "1.0", features = ["derive"] }
# Each data format lives in its own crate; the sample code below uses JSON
# but you may be using a different one.
serde_json = "1.0"
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
struct Point {
x: i32,
y: i32,
}
fn main() {
let point = Point { x: 1, y: 2 };
// Convert the Point to a JSON string.
let serialized = serde_json::to_string(&point).unwrap();
// Prints serialized = {"x":1,"y":2}
println!("serialized = {}", serialized);
// Convert the JSON string back to a Point.
let deserialized: Point = serde_json::from_str(&serialized).unwrap();
// Prints deserialized = Point { x: 1, y: 2 }
println!("deserialized = {:?}", deserialized);
}
Serde is one of the most widely used Rust libraries so any place that Rustaceans congregate will be able to help you out. For chat, consider trying the #rust-questions or #rust-beginners channels of the unofficial community Discord (invite: https://discord.gg/rust-lang-community), the #rust-usage or #beginners channels of the official Rust Project Discord (invite: https://discord.gg/rust-lang), or the #general stream in Zulip. For asynchronous, consider the [rust] tag on StackOverflow, the /r/rust subreddit which has a pinned weekly easy questions post, or the Rust Discourse forum. It's acceptable to file a support issue in this repo but they tend not to get as many eyes as any of the above and may get closed without a response after some time.
Download Details:
Author: serde-rs
Source Code: https://github.com/serde-rs/serde
License: View license
1647148740
A WebAssembly CHIP-8 Emulator
A CHIP-8 emulator written in Rust and compiled to WebAssembly. Just for the fun of it!
The code is described in the accompanying blog post: http://blog.scottlogic.com/2017/12/13/chip8-emulator-webassembly-rust.html
This project uses the relatively new wasm32-unknown-unknown
target, which can be enabled as per the setup instructions. Once installed simply run the build
script.
Download Details:
Author: ColinEberhardt
Source Code: https://github.com/ColinEberhardt/wasm-rust-chip8
License: MIT License
#rust #Emulators #webassembly
1665944280
A CHIP-8 emulator written in Rust.
To compile the project Rust is required.
Run the following command in the project directory to generate the executable:
$ cargo build --release
The resulting executable can be found under target/release/chip8
in the project
directory.
To run a game, invoke the executable with a path to a ROM file like so:
$ chip8 br8kout.ch8
See the CHIP-8 archive for a
collection of modern CHIP-8 games to play.
The following is the original CHIP-8 keyboard layout:
1 | 2 | 3 | C |
4 | 5 | 6 | D |
7 | 8 | 9 | E |
A | 0 | B | F |
This emulator maps those keys onto the following for modern (QWERTY) keyboards:
1 | 2 | 3 | 4 |
Q | W | E | R |
A | S | D | F |
Z | X | C | V |
This project is licensed under the MIT License.
Author: vzwGrey
Source Code: https://github.com/vzwGrey/chip-8
1617089618
Hello everyone! I just updated this tutorial for Laravel 8. In this tutorial, we’ll go through the basics of the Laravel framework by building a simple blogging system. Note that this tutorial is only for beginners who are interested in web development but don’t know where to start. Check it out if you are interested: Laravel Tutorial For Beginners
Laravel is a very powerful framework that follows the MVC structure. It is designed for web developers who need a simple, elegant yet powerful toolkit to build a fully-featured website.
#laravel 8 tutorial #laravel 8 tutorial crud #laravel 8 tutorial point #laravel 8 auth tutorial #laravel 8 project example #laravel 8 tutorial for beginners
1599536794
In this post, i will show you what’s new in laravel 8 version.
https://www.tutsmake.com/laravel-8-new-features-release-notes/
#laravel 8 features #laravel 8 release date #laravel 8 tutorial #news - laravel 8 new features #what's new in laravel 8 #laravel 8 release notes