import maybeGetColorForVariable from '@Controls/maybeGetColorForVariable'; function colourNameToHex( colour ) { let result; const colours = { 'black': '#000000', 'cyan-bluish-gray': '#abb8c3', 'white': '#ffffff', 'pale-pink': '#f78da7', 'luminous-vivid-orange': '#ff6900', 'luminous-vivid-amber': '#fcb900', 'light-green-cyan': '#7bdcb5', 'vivid-green-cyan': '#00d084', 'pale-cyan-blue': '#8ed1fc', 'vivid-cyan-blue': '#0693e3', 'vivid-purple': '#9b51e0', 'vivid-red': '#cf2e2e', }; if ( typeof colours[ colour?.toLowerCase() ] !== 'undefined' ) { result = colours[ colour?.toLowerCase() ]; } else { const colorVal = `var(--wp--preset--color--${ colour })`; result = maybeGetColorForVariable( colorVal ); } return result; } export default colourNameToHex; /** * The functions graveyard. * * @package AdvancedAds * @author Advanced Ads * @since 2.0.0 */ /** * Return ad content * * @since 1.0.0 * @deprecated 2.0.0 * * @param int $id Id of the ad (post). * @param array $args Additional arguments. */ function get_ad( $id = 0, $args = [] ) { _deprecated_function( __FUNCTION__, '2.0.0', 'get_the_ad' ); return get_the_ad( $id, '', $args ); } /** * Return an ad from an ad group based on ad weight * * @since 1.0.0 * @deprecated 2.0.0 * * @param int $id Id of the ad group (taxonomy). * @param array $args Additional arguments. */ function get_ad_group( $id = 0, $args = [] ) { _deprecated_function( __FUNCTION__, '2.0.0', 'get_the_group' ); return get_the_group( $id, '', $args ); } /** * Return content of an ad placement * * @since 1.1.0 * @deprecated 2.0.0 * * @param string $id Slug of the ad placement. * @param array $args Additional arguments. */ function get_ad_placement( $id = '', $args = [] ) { _deprecated_function( __FUNCTION__, '2.0.0', 'get_the_placement' ); return get_the_placement( $id, '', $args ); } Blockchain is the lacking hyperlink for gaming. - Gaming News google.com, pub-1884294887586162, DIRECT, f08c47fec0942fa0



Opinion by: Kin Wai Lau, CEO of ZKcandy

Many individuals nonetheless don’t see the purpose of utilizing blockchain in video games. It’s a strong instrument that drives possession and buying and selling however will not be very important for many gameplay varieties. 

The rise of AI shifts the equation. Blockchain isn’t only a bonus characteristic for video games enhanced with synthetic intelligence — it’s essential for constructing constant gameplay. Quick processors and cloud servers will not be sufficient anymore. AI brokers and gamers want blockchain to allow a very social gaming expertise, the place achievements may be recorded and carried throughout totally different titles, turning video games into linked social ecosystems. With out decentralized infrastructure, agentic gameplay dangers changing into a centralized walled backyard the place progress is non permanent, creations are locked in, and expertise is proscribed. 

Disposable creations

Right now’s AI can construct a personalised sport movement because it learns and adapts in actual time. However when AI runs inside a centralized entity, its creations stay disposable, owned and monetized by firms. 

Participant interactions are saved privately on company servers. Recollections and evolving character relationships die if the server shuts down. Recreation progress, AI agent evolution and generated content material are tied to the lifecycle of a sport session, account or company coverage. If a participant restarts the sport or a writer pulls the plug, all creations and achievements danger stepping into useless. When AI brokers neglect what they did yesterday, rising storylines can’t unfold constantly, and NPCs don’t get smarter.

If the person owned at the very least a part of the generated content material, this might remedy the issue, however the centralized nature of video games doesn’t allow this both. 

Right here’s one other necessary factor: When AI adapts to the participant, they turn into co-creators of the sport. They construct new characters, tales and gadgets, however players can’t profit from their very own creations. Creativity will get exploited when gamers can’t capitalize on their contributions.

Reminiscence, possession and monetization

Blockchain is a pure match to increase AI’s reminiscence and grant customers possession of their creations.

A distributed ledger can file sport contents onchain, together with participant actions and achievements. Most AI brokers right now function inside a single session: They don’t bear in mind previous interactions as soon as the session ends. If the sport progress data are on the blockchain, nothing will get misplaced. Brokers can be taught and evolve from session to session. This opens the best way to constant narratives and character arcs. 

When AI’s progress is recorded onchain, it’s saved in customers’ wallets, so gamers personal and management their historical past — it’s not misplaced or locked away. Moreover the reminiscence advantages for agentic AI, possession opens broad alternatives for managing in-game belongings.

The issue with conventional video games is that players lease, not personal, issues — all the pieces stays underneath the sport writer’s management. If a participant spends years shaping an AI companion or a singular merchandise, that asset dies inside that sport. It can’t be transferred to different video games or platforms. It’s trapped.

Latest: Crypto gaming curiosity drops in April, general ecosystem more healthy: DappRadar

When AI is backed by blockchain, any generated merchandise may be minted as an NFT and keep within the participant’s pockets perpetually. Nobody will ever delete it or limit person entry to it: NFTs are saved in a decentralized method. And that is for his or her safekeeping and utility, not hypothesis. 

Customers can switch their belongings past a single title throughout digital worlds. When blockchain preserves reminiscence and traits, gadgets and even NPCs carry a constant id wherever they go. 

Video games turn into a unified social ecosystem. Gamers can evaluate what they’ve constructed, showcase their achievements with AI, and respect others’ journeys. Social dynamics evolve round provable creativity, historical past and shared experiences, not merely leaderboards or loot packing containers. That retains gamers coming again — not simply taking part in, however connecting.

Is it cost-efficient to retailer a lot knowledge onchain, although? Layer-2 and Layer-3 platforms have dramatically superior over the previous few years. They’ve turn into quick and low cost sufficient to deal with 1000’s of transactions per second at a virtually invisible price. Sturdy infrastructure has made it potential to retailer massive quantities of knowledge. Right now’s blockchains can simply deal with AI knowledge accumulation for as many customers as wanted.

Lastly, asset possession opens monetization alternatives. When crafted fastidiously, they improve the gameplay, not change it, like in early play-to-earn merchandise. 

AI brokers will forge distinctive gadgets and mint them as NFTs, giving rise to in-game marketplaces woven straight into gameplay. Brokers will search the most effective trades and autonomously execute them. Gamers will get pleasure from taking part in, skipping many of the technical friction. They are going to make investments their time, creativity and talent in how they form belongings, characters or storylines along with AI. And once they can license, lease or promote them on open marketplaces, they acquire an actual sense of company and reward, turning their contributions into lasting worth.

Whereas gamers monetize what they create, sport builders revenue, too. They’ll earn a share of each market transaction, cost charges for minting or customization, and provide premium AI instruments to creators. This strategy goes past one-and-done gross sales: Devs earn as gamers create, commerce and develop.

Embracing public ledgers is a broad pattern: Giant enterprises and banks more and more depend on decentralized infrastructure. Blockchain has performed a task in gaming for years, nevertheless it isn’t only a good add-on anymore. It’s essential to help agentic AI-driven leisure by means of reminiscence, possession and monetization to make it a real social expertise. With out Web3, next-gen video games danger staying only a demo model of what they actually may be. 

Opinion by: Kin Wai Lau, CEO of ZKcandy.

This text is for normal data functions and isn’t supposed to be and shouldn’t be taken as authorized or funding recommendation. The views, ideas, and opinions expressed listed below are the creator’s alone and don’t essentially mirror or characterize the views and opinions of Cointelegraph.