o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
You know Cheat Engine, right? Write a similar demo dark UI in HTML and CSS
- User
You know Cheat Engine, right? Write a similar demo dark UI in HTML and CSS
- Assistant
You know Cheat Engine, right? Write a similar demo dark UI in HTML and CSS
Sure! Below is a demo of a dark-themed user interface inspired by Cheat Engine, created using HTML and CSS.
You can copy the code into an .html file and open it in your browser to see the UI.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Cheat Engine Demo UI</title>
<style>
/* Global styles */
body {
background-color: #2b2b2b;
color: #e0e0e0;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
/* Navbar */
.navbar {
background-color: #333333;
padding: 5px 10px;
}
.navbar .menu span {
margin-right: 15px;
cursor: pointer;
}
.navbar .menu span:hover {
text-decoration: underline;
}
/* Toolbar */
.toolbar {
background-color: #444444;
padding: 5px 10px;
display: flex;
gap: 10px;
}
.toolbar button {
background-color: #555555;
color: #e0e0e0;
border: none;
padding: 5px 10px;
cursor: pointer;
}
.toolbar button:hover {
background-color: #666666;
}
/* Main content */
.main {
padding: 10px;
display: flex;
}
/* Search panel */
.search-panel {
width: 30%;
border-right: 1px solid #555555;
padding-right: 10px;
}
.search-panel label {
display: block;
margin-top: 10px;
}
.search-panel input, .search-panel select {
width: 100%;
background-color: #3b3b3b;
border: 1px solid #555555;
color: #e0e0e0;
padding: 5px;
margin-top: 5px;
}
.search-panel button {
background-color: #555555;
color: #e0e0e0;
border: none;
padding: 5px 10px;
cursor: pointer;
margin-top: 10px;
margin-right: 5px;
}
.search-panel button:hover {
background-color: #666666;
}
/* Results panel */
.results-panel {
width: 70%;
padding-left: 10px;
}
.results-panel table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.results-panel th, .results-panel td {
border: 1px solid #555555;
padding: 5px;
text-align: left;
}
.results-panel th {
background-color: #3b3b3b;
}
/* Cheat list */
.cheat-list {
margin-top: 20px;
}
.cheat-list table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.cheat-list th, .cheat-list td {
border: 1px solid #555555;
padding: 5px;
text-align: left;
}
.cheat-list th {
background-color: #3b3b3b;
}
</style>
</head>
<body>
<!-- Navbar -->
<div class="navbar">
<div class="menu">
<span>File</span>
<span>Edit</span>
<span>Table</span>
<span>Help</span>
</div>
</div>
<!-- Toolbar -->
<div class="toolbar">
<button>Open Process</button>
<button>Memory View</button>
<button>Settings</button>
</div>
<!-- Main Content -->
<div class="main">
<!-- Search Panel -->
<div class="search-panel">
<label for="value">Value:</label>
<input type="text" id="value" placeholder="Enter value to search">
<label for="type">Type:</label>
<select id="type">
<option value="4 bytes">4 Bytes</option>
<option value="float">Float</option>
<option value="double">Double</option>
<option value="string">String</option>
</select>
<button>First Scan</button>
<button>Next Scan</button>
</div>
<!-- Results Panel -->
<div class="results-panel">
<h2>Scan Results</h2>
<table>
<thead>
<tr>
<th>Address</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>0x00400000</td>
<td>100</td>
</tr>
<tr>
<td>0x00500000</td>
<td>100</td>
</tr>
<!-- More rows as needed -->
</tbody>
</table>
<!-- Cheat List -->
<div class="cheat-list">
<h2>Cheat List</h2>
<table>
<thead>
<tr>
<th>Description</th>
<th>Address</th>
<th>Type</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Health</td>
<td>0x00400000</td>
<td>4 Bytes</td>
<td>100</td>
</tr>
<!-- More rows as needed -->
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
Explanation:
Styling Highlights:
Feel free to customize the code to add more functionality or adjust the styling to better match the Cheat Engine UI.